Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review



I'm using automation 5.7.5 in Visual Studio, C#. Attempting to perform an FTP transfer with TLS with the following code:
return new SessionOptions
    Protocol = Protocol.Ftp,
    FtpMode = WinSCP.FtpMode.Passive,
    FtpSecure = WinSCP.FtpSecure.Implicit,
    HostName = host,
    UserName = user,
    Password = password,
    TlsHostCertificateFingerprint = "‎f0:c4:75:a9:be:75:14:aa:d6:14:e9:84:8d:6b:39:06:c1:98:a3:00"

But I always get the following error:
TLS host certificate fingerprint \"‎‎f0:c4:75:a9:be:75:14:aa:d6:14:e9:84:8d:6b:39:06:c1:98:a3:00\" does not match pattern /([0-9a-f]{2}:){19}[0-9a-f]{2}(;([0-9a-f]{2}:){19}[0-9a-f]{2})*/

The pattern definitely looks like it matches but I can't get past it. Please help. Thanks!