[
https://issues.apache.org/jira/browse/NET-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674232#comment-13674232
]
Arno Unkrig commented on NET-508:
---------------------------------
Hello Sebb,
you were too fast, and added a comment before I could fill in the description.
All clear now?
> 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:
> connectToProxyAndLogin(server, port, userid, password, proxyServer,
> proxyPort, proxyUserid, proxyPassword)
> The proxy server that I (must) use is
> 220 McAfee Web Gateway 7.2.0 build 13935
> , and from experiments it supports the following authentication schemes:
> (1) USER pu PASS pp OPEN ftp.acme.com USER u PASS p
> (2) USER pu PASS pp USER [email protected] PASS p
> (3) USER pu PASS pp SITE ftp.acme.com USER u PASS p
> 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