Download from FTPS on VB.Net

Job ID: 38157482

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.
Related categories: PHP Visual Basic .NET Software Architecture VB.NET