download file

  • Thread starter Thread starter Nikhil Patel
  • Start date Start date
N

Nikhil Patel

Hi all,
I am writing an asp.net application that will allow users to upload and
download files. I know I can use the Input html control with type=file to
allow the uploading of files. But what is a good way to allow downloading
files? When users download a file I would like to show them a folder browser
that will let them save the downloaded file. How can I do this?
Thanks.
Nikhil
 
You can't determine where a user downloads a file to. This is handled
completely by the browser. Allowing web pages to handle this would be a huge
security flaw. For that matter you can not make an interface for file
uploading, nor can you prefill the file upload control with a location.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top