Mark
Mark

Reputation: 431

Download File in vb.net desktop Application

Can anyone help me on how can I download file form another computer and save it to my computer..

Upvotes: 0

Views: 3256

Answers (1)

Hans Olsson
Hans Olsson

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

Related Questions