Hi, I'm using webclient to enable download of files. 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.