You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/30 18:13:00 UTC
DO NOT REPLY [Bug 31744] -
FTP subtasks should all share one connection
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31744>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744
------- Additional Comments From scohen@apache.org 2005-05-30 18:12 -------
This is a very interesting suggestion and I am considering how best to implement it.
I have an idea. I'd like some of the other ant developers to chime in on it.
Suppose we had an <ftp-connection> data type, with an id, etc. Could we wrap
that around a jakarta-commons-net FTPClient object, and keep its connection
live? Then we could refer to it via refid in subsequent invocations of the
<ftp> task within the same target. Some care would have to be taken to insure
that the connection is closed within the target.
So ant-dev's please chime in here. Is there any glaring flaw in this plan that
would cause it not to work?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org