When using FTP client.Settings it is showing setting is not a member of ftp even Rebex.common.dll is refrenced

0 votes
asked May 13, 2021 by lakhdeep.kumar (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 :

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered May 13, 2021 by Lukas Pokorny (128,250 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.