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.