0 votes
by (320 points)

Hi Team, we have integrated Rebext FTP components (Version 6.0.8432.0) in our .Net application.

We got an error "521 Not logged in - Secure authentication required" while connecting the FTP. But it works fine when we connect from FileZilla.

How can we set the below mentioned encryption properties in Rebex?

Use explicit FTP over TLS if available

Thanks & Regards
Naga Suresh D

Applies to: Rebex FTP/SSL

1 Answer

0 votes
by (148k points)

Hi, just add SslMode.Explicit argument to Ftp.Connect method, as shown here:
https://forum.rebex.net/12082/530-non-anonymous-sessions-must-use-encryption?show=12084#a12084

By the way, do you have an active support contract? I can't find any contract (active or expired) associated with your email or company. Please let us know to ensure quick response time in the future!

by (320 points)
Thanks for the information Lukas.

After I implemented the SslMode.Explicit argument to Ftp.Connect method, I got this error.

Server certificate was rejected by the verifier because of an unknown certificate authority.

Please help to resolve the issue. Thank you.
by (5.3k points)
See our KB article.
HOWTO: Solve the “Server certificate was rejected by the verifier” exception
https://blog.rebex.net/howto-solve-the-server-certificate-was-rejected-by-the-verifier-exception
...