You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have several HTML5 apps I work on, all of which allow users to save files locally. I can't seem to figure out how to control the URL so the users aren't downloading files with gibberish names, or how to force the browser to open a Save As dialog.
Anyway, any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
re: controlling the name: as @annevk states, <a download> is for.
re: "Save As" dialog - that's a user agent option as to whether to show UI or automatically place the file in a dedicated Downloads folder.
I can imagine a feature request for e.g. File.saveAs(optional filename) but I wouldn't do that by controlling the URL.
Hi. I have several HTML5 apps I work on, all of which allow users to save files locally. I can't seem to figure out how to control the URL so the users aren't downloading files with gibberish names, or how to force the browser to open a Save As dialog.
Anyway, any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: