Hi Team,
We are receiving the error message "530 Non-anonymous sessions must use encryption" while connecting to the FTP from Rebex API. Below is the code we have written to connect.
Ftp client = new Ftp();
client.Connect(ServerName, PortNumber);
client.Login(UserName, Password);
The Connect
method is working fine. But while calling the Login
method, we are receiving the given error message.
If we set the Encryption as "Require explicit FTP over TLS" option in the FileZilla, it is working fine.
Please let us know how we can set the "Require explicit FTP over TLS" option in the Rebex code to connect the FTP. Thank you.
Regards,
Naga Suresh D