Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 32033 invoked from network); 5 Feb 2011 19:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2011 19:27:48 -0000 Received: (qmail 74665 invoked by uid 500); 5 Feb 2011 19:27:47 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 74287 invoked by uid 500); 5 Feb 2011 19:27:46 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 74279 invoked by uid 99); 5 Feb 2011 19:27:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 19:27:46 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 19:27:40 +0000 Received: from joe.nabble.com ([192.168.236.151]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Plnmx-0007HP-SE for user@commons.apache.org; Sat, 05 Feb 2011 11:27:19 -0800 Date: Sat, 5 Feb 2011 11:27:19 -0800 (PST) From: Benzion To: user@commons.apache.org Message-ID: <1296934039870-3262198.post@n4.nabble.com> In-Reply-To: <0CFE51F6CAD24682B187546093E40523@cbs> References: <1296798699393-3259504.post@n4.nabble.com> <0152B41A7BFD4CB7B4FD58AB4A03E8A5@cbs> <1296827306837-3260199.post@n4.nabble.com> <0CFE51F6CAD24682B187546093E40523@cbs> Subject: RE: [NET] FTPSClient: 502 authentication type cannot be set to TLS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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