Javascript download file force prompt destination -


i'm downloading file via javascript (the file generated on server) , want force browser prompt user choose destination of file. possible? instance, chrome option default folder , want able override option

edit (explaining duplicate question) think it's not duplicate because know why dialog not opening, want ask if behavior can overriden

you cannot override download behaviour. number of modern browsers save download default location without prompting user. that's how download files, period. cannot override this. it's user choice in browser's preferences whether want prompted or not.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -