Dim ad As String = "http://www.mydomain.com/"
Dim fn As String = "Alien 2.bmp"
Using client As New System.Net.WebClient
client.Credentials = New System.Net.NetworkCredential("id", "pwd")
client.DownloadFileAsync(ad + fn, "c:\" + fn)
End Using
Dim fn As String = "Alien 2.bmp"
Using client As New System.Net.WebClient
client.Credentials = New System.Net.NetworkCredential("id", "pwd")
client.DownloadFileAsync(ad + fn, "c:\" + fn)
End Using