Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SCDownload: can't specify extension

Featured Replies

I have showSaveDialog enabled. When using the filename flag, I can set the file name but the file extension is getting stripped and I have to type it in manually for every file I save; a big PITA! The documentation says to "be sure to include your file extension", which I have.

Help!

- dg

You must specify the file extension for the filename, which is why we have the "be sure to include your file extension" in there.

If you want to save the file as "myphoto.jpg" then the filename parameter must be "myphoto.jpg" and not "myphoto" without an extension.

  • Author

I am specifying the file name with the file extension, but it's stripping it in the save dialog. Maybe it works if I'm saving the file directly, but it doesn't work when the show save dialog is used. I want the user to decide where to save the file, but they shouldn't have to type in the file extension for every saved file.

- dg

Can you post your script? You should be using SCChooseFile to have your user select a directory, and then use SCDownload to specify the path selected by SCChooseFile, with "filename=myfilename.ext" as one of your key parameters.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.