Download from FTPS on VB.Net
Budget: $10 – $30 USD
I use this little code to download files from an FTP:
Dim MyWebClient As New System.Net.WebClient
MyWebClient.Credentials = New System.Net.NetworkCredential(User, Pass)
MyWebClient.DownloadFileTaskAsync(New Uri(URL), LocalName)
But they have now put security in the FTP, and I need to enable SSL to be able to connect.
I found a code in F# to override the control, but I need it in VB.Net
https://www.fssnip.net/7Ua/title/FTPS-download-and-upload-a-file
Thank you.
Dim MyWebClient As New System.Net.WebClient
MyWebClient.Credentials = New System.Net.NetworkCredential(User, Pass)
MyWebClient.DownloadFileTaskAsync(New Uri(URL), LocalName)
But they have now put security in the FTP, and I need to enable SSL to be able to connect.
I found a code in F# to override the control, but I need it in VB.Net
https://www.fssnip.net/7Ua/title/FTPS-download-and-upload-a-file
Thank you.