commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cole" <sc...@camsbycbs.com>
Subject RE: [NET] FTPSClient: 502 authentication type cannot be set to TLS
Date Fri, 04 Feb 2011 13:00:56 GMT
Since you know TLS isn't supported, try setting auth type to SSL.

-----Original Message-----
From: Benzion [mailto:benzionk@yahoo.com] 
Sent: Friday, February 04, 2011 12:52 AM
To: user@commons.apache.org
Subject: [NET] FTPSClient: 502 authentication type cannot be set to TLS


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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message