'WebClient'에 해당되는 글 1건

  1. 2011.01.27 웹서버에서 화일을 다운로드 받기 VB.NET


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
Posted by leeyongwan
,