Author: boston_ma | Posted on: 6/20/2008 6:12:07 AM | Views : 319

Hello everyone,

I use the wClient.DownloadFile function to download a file from the server to the local directory. It seems working fine when I tested locally.  So my question is that when I host my web application on the server, It's going to download a file from the server to the local path.  Is it looking for the physical path (local path) from the server side or a physical path from client's side?  I want to download a file to a client's local directory, not the server's local directory.  I'm kinda unsure about this, can anyone clarify it for me, thanks.

wClient.DownloadFile("http://www.mysite.com/reports/" + filename, @"c:\File\report\" + filename);
Go to the complete details ...