Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62B6E10DD8 for ; Thu, 6 Jun 2013 13:51:30 +0000 (UTC) Received: (qmail 98080 invoked by uid 500); 6 Jun 2013 13:51:29 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 97767 invoked by uid 500); 6 Jun 2013 13:51:26 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 97501 invoked by uid 99); 6 Jun 2013 13:51:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 13:51:21 +0000 Date: Thu, 6 Jun 2013 13:51:21 +0000 (UTC) From: "Arno Unkrig (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (NET-508) Add support for FTP proxies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674394#comment-13674394 ] Arno Unkrig edited comment on NET-508 at 6/6/13 1:51 PM: --------------------------------------------------------- According to http://download.kernun.com/doc/handbook/ftp-proxy.8.html , KERUN supports the following authentication schemes: (5) SITE ftp.acme.com USER u PASS p (6) USER u@ftp.acme.com[:port] PASS p (7) USER u@ftp.acme.com[ port] PASS p (8) USER u!ftp.acme.com[ port] PASS p (4b) USER pu@u@ftp.acme.com[:port] PASS pp@p (10) SITE ftp.acme.com [port] USER pu@u PASS pp@p (2a) USER pu PASS pp USER u@ftp.acme.com[:port] PASS p (11) SITE ftp.acme.com [port] USER pu PASS pp USER u PASS p (3a) USER pu PASS pp SITE ftp.acme.com [port] USER u PASS p was (Author: aunkrig): According to http://download.kernun.com/doc/handbook/ftp-proxy.8.html , KERUN supports the following authentication schemes: (5) SITE ftp.acme.com USER u PASS p (6) USER u@ftp.acme.com[:port] PASS p (7) USER u@ftp.acme.com[ port] PASS p (8) USER u!ftp.acme.com[ port] PASS p (4b) USER pu@u@ftp.acme.com[:port] PASS pp@p (10) SITE ftp.acme.com [port] USER pu@u PASS pp@p USER u PASS p (2a) USER pu PASS pp USER u@ftp.acme.com[:port] PASS p (11) SITE ftp.acme.com [port] USER pu PASS pp USER u PASS p (3a) USER pu PASS pp SITE ftp.acme.com [port] USER u PASS p > Add support for FTP proxies > --------------------------- > > Key: NET-508 > URL: https://issues.apache.org/jira/browse/NET-508 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Affects Versions: 3.2 > Reporter: Arno Unkrig > > The COMMONS-NET FTP client supports 'FTP over HTTP', but not the other popular FTP proxy schemes. The article > http://www.codeproject.com/Articles/9547/How-Proxy-Server-serves-FTP-clients > describes some of them, but not very precisely an obviously a bit incorrect. > I added proxy support for the ANT FTP task in > https://svn.code.sf.net/p/loggifier/code/trunk/ant_issue_54883/src/org/apache/tools/ant/taskdefs/optional/net2/FTP2.java > (search for string "proxyServer"), but I believe that the feature should be implemented in COMMONS-NET, not in the application, maybe like this: > {code} > connectToProxyAndLogin(server, port, userid, password, proxyServer, proxyPort, proxyUserid, proxyPassword) > {code} > The proxy server that I (must) use is > {noformat} > 220 McAfee Web Gateway 7.2.0 build 13935 > {noformat} > , and from experiments it supports the following authentication schemes: > {noformat} > (1) USER pu PASS pp OPEN ftp.acme.com[:port] USER u PASS p > (2) USER pu PASS pp USER u@ftp.acme.com[:port] PASS p > (3) USER pu PASS pp SITE ftp.acme.com[:port] USER u PASS p > {noformat} > I don't know which FTP proxy servers support which of these flavors, but (2) appears to be the most natural and robust to me. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira