How to create an FTPS connectionftps
Posted 03 December 2012 - 12:08 PM
I have successfully connected to a remote host using the SmartFTP client. The connection is set up as FTPS (Explicit) with anonymous login with a client certificate enabled. All is working well.
However, I have to re-create this scenario using sfFTPLib and am having a hard time reading the c# samples and the documentation as to how to setup the connection. No samples seem to fit my requirements and the documentation leaves me even more confused.
Any starting help would be much appreciated.
Posted 04 December 2012 - 07:54 AM
Please note that the provided C# example doesn't compile, although not tested yet, it should read something like
System.Array certificateThumbprint = Array.CreateInstance(typeof (byte), 20);
_ftp.SSLSocketLayer.ClientCertThumbprint = Convert.ToBase64String((byte) certificateThumbprint);
Posted 04 December 2012 - 09:17 AM
Also tagged with one or more of these keywords: ftps
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users