0 votes
by (140 points)

trying to TLS 1.2 in my code but in code i am getting error setting is not a member of ftp:

Code :

fClient.Settings.SslAcceptAllCertificates = True

I have refrenced following Rebex dlls :
Rebex.common
Rebex.Net.Ftp
Rebex.Net.ProxySocket
Rebex.Net.SecureSocket
Rebex.Networkng
Rebex.Security

Applies to: Rebex FTP/SSL

1 Answer

0 votes
by (147k points)

The names of your Rebex DLLs indicate that you are using a version of Rebex FTP/SSL that is more than 10 years old. These old versions don't feature that setting and do not support TLS 1.2.

The SslAcceptAllCertificates setting has been introduced in Rebex FTP/SSL 2012 R2.

For TLS 1.2 support, please use Rebex FTP/SSL 2016 R1 or later.

...