Hi,
I try the
http://commons.apache.org/net/api-release/src-html/examples/ftp/FTPSExample.html
FTPSExample , but get the following error. How can I know which auth type is
OK for the FTP server I try to connect?
220 xxxx FTP server (Version 4.2 Sun Aug 8 08:57:21 CDT 2010) ready.
AUTH TLS
502 authentication type cannot be set to TLS
Could not connect to server.
javax.net.ssl.SSLException: 502 authentication type cannot be set to TLS
at
org.apache.commons.net.ftp.FTPSClient.execAUTH(FTPSClient.java:214)
at
org.apache.commons.net.ftp.FTPSClient._connectAction_(FTPSClient.java:196)
at
org.apache.commons.net.SocketClient.connect(SocketClient.java:164)
at
org.apache.commons.net.SocketClient.connect(SocketClient.java:184)
at
org.apache.commons.net.SocketClient.connect(SocketClient.java:273)
at FTPSExample.main(FTPSExample.java:73)
--
View this message in context:
http://apache-commons.680414.n4.nabble.com/NET-FTPSClient-502-authentication-type-cannot-be-set-to-TLS-tp3259504p3259504.html
Sent from the Commons - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]