Live Chat Icon For mobile
Live Chat Icon

When the User is prompted a File Download dialogbox, if the user selects ‘Save’ then the ‘Save as’ dialog box is displayed. Is there any way for me to retrieve the filename and directory path specified by the user on the File Download dialog box

Platform: ASP.NET| Category: Basic

Clients do not report information back about where the user selects to save the content, so there isn’t an easy way to do this. Instead, you would need to ask the user before using the content-disposition for a file path, and then you could specify the filename parameter for the content-disposition header. Still, the user is free to change that path when actually downloading.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.