tordubey

tordubey

  • NA
  • 12
  • 0

file download

Dec 14 2003 5:22 AM
Hi, I'm using webclient in C# ASP.NET project to enable download of files to my web page visitors. However, files get copied to the server rather than the client machine. What could be the problem. Here is the sample that I've used: WebClient myWebClient = new WebClient(); myWebClient.DownloadFile("http://www.myweb.com/testfile.txt" ,"c:/test.txt"); The problem is that the test.txt gets copied to the C:\ drive of the server rather than the client machine.

Answers (7)