Topic "FTPS Implicit mode with certificate"

Author Message
EtienneWRS
[View user's profile]

Joined: 2012-10-05
Posts: 2
Location: sydney
Hi

I'm sorry as it seems to be a basic question but I cannot find how to specify my certificate file for connecting in FTPS implicit mode.

I have actually the same problem in any FTP client (in filezilla for example, you can choose implicit FTPS mode, but where do you specify you certificate file ?)

My requirement is that I need to interact with an FTPS server through C# code.
Currently we are manually uploading/downloading files using a cmd line FTP client called MoveIt.
command line looks like:
ftps -user:XXX -password:XXX -e:tls-c -z "-ccn:XXX(cert friendly name)" -natact:XXX(IP) 990
PROT P


Code:
// Setup session options
      SessionOptions sessionOptions = new SessionOptions
                                                    {
                                                        Protocol = Protocol.Ftp,
                                                        FtpSecure = FtpSecure.Implicit,
                                                        HostName = "xxx",
                                                        PortNumber = 990,
                                                        UserName = "xxx",
                                                        Password = "xxx"

                                                    };
               


I've been trying to play with the SslCertificate and SslHostCertificateFingerprint but never got it to work (I always get an error about reg exp not respected).

Any help would be very much appreciated

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
WinSCP does not support client SSL/TLS certificates.
http://winscp.net/tracker/show_bug.cgi?id=921

AFAIK, neither Filezilla does.
_________________
Martin Prikryl
EtienneWRS
[View user's profile]

Joined: 2012-10-05
Posts: 2
Location: sydney
Thanks

After trying many different FTP client I finally found a .NET API that supports that feature.
It's not free though Neutral
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License