FTP/SSL (AUTH SSL) - WeOnlyDo Discussion board

FTP/SSL (AUTH SSL) (wodFtpDLX / wodFtpDLX.NET)

by abe_dk, Monday, November 08, 2004, 16:03 (7318 days ago)

Hi

We need to establish secure ftp to one of our customers.

ToDay we use C++ and transfer files using FTP.
This has to be changed to secure FTP.

Our customer specifies that we have to use 'FTP/SSL (AUTH SSL)'
Does your product wodFtpDLX support that option?

Are there any special issues that we should be aware of?

Re: FTP/SSL (AUTH SSL)

by wodSupport, Monday, November 08, 2004, 16:05 (7318 days ago) @ abe_dk

Abe,

yes, wodFtpDLX supports that. Just set Protocol = FTPs or FTPSnodata and it should work correctly.

Regards.

Re: FTP/SSL (AUTH SSL)

by abe_dk, Tuesday, December 07, 2004, 14:52 (7289 days ago) @ wodSupport

Hi

Don't we have to load a certificate after connecting to the server when using FTP/SSL (AUTH SSL) or is that happening automatically.

Do you have an example of how this works?

Re: FTP/SSL (AUTH SSL)

by wodSupport, Tuesday, December 07, 2004, 15:13 (7289 days ago) @ abe_dk

Abe,

no. You need to load certificates only if server requires client-side-certificate authentication. I think this is not the case with your server. However, if you think you need it, I could write a sample. VB ok?

Re: FTP/SSL (AUTH SSL)

by abe_dk, Tuesday, December 07, 2004, 15:25 (7289 days ago) @ wodSupport

It would be nice if you would try to make an example. And VB is Ok.

Re: FTP/SSL (AUTH SSL)

by wodSupport, Tuesday, December 07, 2004, 21:19 (7289 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.