Dim WebClient As New System.Net.WebClient()
Dim webResponse As IO.Stream, webResult As String
Dim remoteFile As String = "FTP://www.myweb.com/Directory/filename"
webResponse = WebClient.OpenRead(remoteFile)
Dim myReader As New IO.StreamReader(webResponse)
webResult = myReader.ReadToEnd
myReader.Close()
webResponse.Close()
Quote:
> I need to download a file from an FTP site. i've looked
> for samples and i keep seeing a reference to an Inet
> control. Does this come with vs.net or is it an extra
> control.
> Any help appreciated.
> Roland