rndme / download

file downloading using client-side javascript
MIT License
2.29k stars 417 forks source link

Need to add option to specify download location #19

Closed sambsa closed 8 years ago

sambsa commented 8 years ago

How can I specify path? For example if I want to download to my Desktop in my local computer?

rndme commented 8 years ago

From download.js, you cannot adjust the path: it's entirely determined by the browser and OS. Some browsers allow you always save a certain type of file (instead of asking to save/open), and most browsers allow you set a custom location for all downloads, but i don't know of any that let you save certain files certain place. Sorry, but there's nothing i or any other code can do about that since the browser call the shots for us.