0 votes
by (1.9k points)

Hi.

When using FTP SSL, how can I know which version of TLS was finally negotiated by FTPS?

Best regards.

BooKyung Oh.
OpenBoxLab Inc.

Applies to: Rebex FTP/SSL

1 Answer

+1 vote
by (144k points)

Use Ftp object's TlsSocket.Cipher.Protocol property:

var ftp = new Ftp();
ftp.Connect("test.rebex.net", SslMode.Explicit);
Console.WriteLine(ftp.TlsSocket.Cipher.Protocol);
...