Reputation: 431
Can anyone help me on how can I download file form another computer and save it to my computer..
Upvotes: 0
Views: 3256
Reputation: 55009
Not sure exactly what you want to download or where from, but I'm guessing that what you're looking for is to download something from a website to a local file and if so, look at WebClient.DownloadFile
. See http://msdn.microsoft.com/en-us/library/system.net.webclient.downloadfile%28VS.80%29.aspx for more info.
Otherwise, if you mean just copying files in the local network, then you can just use File.Copy
. http://msdn.microsoft.com/en-us/library/system.io.file.copy.aspx
Upvotes: 2