I'm trying to work with the SSL mode of the ftp client and I have somes questions.
I'm testing with FTP servers that doesn't accept SSL connections, in order to provide feedbacks to my users.
So first questions :
1) When using Explicit SSL, the FTP client sends the commands AUTH SSL and AUTH TLS, in my case the server responds :
500 AUTH not understood
For both AUTH command, which is normal, but it continue to performs the connection and connect to the server without SSL, is there
a way to prevent this behavior ? I'd like to stop the connection when AUTH SSL and AUTH TLS fails.
2) For Implicit SSL It always use the port setted when creating the FtpClient, is it normal that it never tries to connect to 990 ?
Thank you !