We're currently in the process of developing a web-based application which will require the downloading of files through the browser. It would be ideal to have these files end up in a specific location on the file system.
Is there a way to make the file save and file open dialog default to a specific folder, such as %USER%\Downloads\MyApp\
?
I don't want it to be a forced thing, but if we can get it to default to the desired location, it would at least be a good prompt for the user, and provide a better experience with other portions of the application.
I'm sure this can be done with a Java control, but it would be nice to be able to do it with some simple JavaScript or something instead.
Nope, I'm fairly sure this is not possible using JavaScript on any browser.
The only thing you can suggest is the file's name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With