+3 votes

I need a little help from you - my Test with standard ftp connection was ok - I get no problem and the functions are available, which I need - perfect!

My problem is a connection with an FTPS Server, I have a FTP Server with explicit FTP over TLS

With Filezilla I can connect this Server without any problems - But I can not connect with your ftp.dll

perhaps you can get me any VB.NET sample code for conncting over explicit TLS - with you SSL-samples I have any problems

thank you

by

1 Answer

0 votes
 
Best answer

The code for connecting to explicit TLS/SSL FTP server looks like this:

Using client As New Ftp()

    client.Connect("ftp.example.org")

    client.AuthTLS()

    client.Login("username", "password")

    For Each item As FtpItem In client.GetList()
            Console.WriteLine("{0}", item.Name)
    Next

    client.Close()
End Using
by (301k points)
...