I searched quite a lot for an answer on the web and found nothing.
Is there a way to get the download path of a browser via Javascript?
I don’t want to set the path myself i just wanna know where my file goes after been downloaded by the user.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That is not possible.
Pure browser-JavaScript is not be able to get information about the user’s filesystem. The default download path might also contain sensible information, which is risky:
Imagine that one stores his downloads at
C:\CompanyName\RealName\PhoneNumber\Adress\.