0

as the title, have anyway to change default location download of browser ( i'm working with IE9) by javascript ?

  • Short answer: no way to do it in JS. – Teemu Aug 05 '15 at 08:41
  • 1
    I certainly hope not... – George Aug 05 '15 at 08:41
  • possible duplicate of [How to allow user to set destination folder for downloaded files](http://stackoverflow.com/questions/15333443/how-to-allow-user-to-set-destination-folder-for-downloaded-files) – Klaus Aug 05 '15 at 08:43
  • Unless "that technology who's name cannot be spoken out loudly" (activeX) is used (or a browser helper object) the answer is no! – Mouser Aug 05 '15 at 08:44
  • or can i do that with AngularJS, can customize directive ?.. – Hải Võ Văn Aug 05 '15 at 08:47
  • NO!, security reasons prohibit this. You don't want some kind of scriptkiddy pumping files into locations you don't want them to be. Cannot be done with all tools based upon JavaScript. – Mouser Aug 05 '15 at 08:48
  • What Klaus Prinoth said. Possible [dublicate](http://stackoverflow.com/questions/15333443/how-to-allow-user-to-set-destination-folder-for-downloaded-files)... – Altay Mazlum Aug 05 '15 at 08:49

1 Answers1

0

No, you can't. Javascript has no control on the user's local file system.