Re: FTP/SSL (AUTH SSL) (General questions)

by Jasmine, (7450 days ago) @ abe_dk

Abe,

here's one typical example. It connects to the server using login and personal certificate (no password needed):
[code] Dim c As New Certificate

c.LoadKey App.Path & \server.pfx , weonlydo
c.Load App.Path & \server.pfx , weonlydo
Set Ftp1.Certificate = c

Ftp1.Authentication = authCertificate
Ftp1.Login = joe
Ftp1.Protocol = FTPSwithdata

Ftp1.HostName = localhost
Ftp1.Connect[/code]

But please check with server admin - if he didn't explicitly say you need private certificate, you probably don't need all of this.

locked

Complete thread: