Jaruzel.com

Download File From the Internet


(vs2003)

Dim wClient As Net.WebClient = New Net.WebClient

'the web address to the file to download.
Dim theAddy As String = "http://www.vbcodesource.com/dummyFile.txt"

'the file to download and the file to save the downloaded file too.
wClient.DownloadFile(theAddy, "c:\dummy.txt")

(vs2005)
My.Computer.Network.DownloadFile("http://www.webAdress.com/page.html", "c:\thePage.html")