commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benzion <benzi...@yahoo.com>
Subject RE: [NET] FTPSClient: 502 authentication type cannot be set to TLS
Date Sat, 05 Feb 2011 19:27:19 GMT

Hi Steve,

Thank for your help.

I tried implicit=true (ftps = new FTPSClient(protocol, true)) and got:

Could not connect to server.
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
        at com.ibm.jsse2.a.c(a.java:194)
        at com.ibm.jsse2.a.a(a.java:208)
        at com.ibm.jsse2.jc.a(jc.java:42)
        at com.ibm.jsse2.jc.g(jc.java:17)
        at com.ibm.jsse2.jc.a(jc.java:165)
        at com.ibm.jsse2.jc.startHandshake(jc.java:35)
        at
org.apache.commons.net.ftp.FTPSClient.sslNegotiation(FTPSClient.java:263)
        at
org.apache.commons.net.ftp.FTPSClient._connectAction_(FTPSClient.java:192)
        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-tp3259504p3262198.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


Mime
View raw message