problem on download file via asp net

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

Can anybody teach me how to write a code using asp net, so that i can
downlaod file from server to local computer?


Best regards
 
Hi,

you can use the DownloadFile method of the WebClient class under the
System.Net namespace. The method requires you to set the URL & filename
properties to be set before you start downloading the requested file.

Regards
Joyjit
 

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