https://issues.apache.org/bugzilla/show_bug.cgi?id=54883
Bug ID: 54883
Summary: FTP task should support proxies
Product: Ant
Version: nightly
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The FTP task
http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java
does not support proxies (which is documented). Alas, I need that feature
urgently, and
http://commons.apache.org/proper/commons-net/examples/ftp/FTPClientExample.java
indicates that it should be very easy to add it. Basically, you merely have to
replace
ftp = new FTPClient();
with
ftp = new FTPHTTPClient(proxyHost, proxyPort, proxyUser, proxyPassword);
if communication through a proxy is requested.
--
You are receiving this mail because:
You are the assignee for the bug.