ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33214] New: - Refactore FTP task to get an analogous design as e.g. TELNEt
Date Mon, 24 Jan 2005 07:53:00 GMT
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=33214>.
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=33214

           Summary: Refactore FTP task to get an analogous design as e.g.
                    TELNEt
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: daniel.lipp@gmx.net


I recently used the FTP task a lot the last days and I stuck many times due to
limitations of the FTP task in different ant versions 1.5.x - 1.6.x. Still with
1.6.2 I have issues that ore not working properly at least when transfering from
WinXP to AIX 5.1 (e.g. in a put the chmod will only work for files not directories).

At the end I always end up using a new TELNET task after the FTP and fixing
everything I could not do with the FTP.

Discussing with a collegue we came to the point that the overall design of the
FTP task is probably to limited. Everytime someone tries something new the task
has to be extended.

The TELNET task is much more flexible. START Session - do whatever you want -
STOP Session. In a native ftp session everybody is working in the same way. Open
the session, do several actions, close it. I don't see why the FTP task cannot
be implemented that way. Am I missing something there?

Wouldn't it be a good idea to refactore FTP task according to the TELNET task in
order to use the same paradigm? Apart from the "migration-problem" of exsiting
ant-scripts using FTP I don't see any problems.

On the other sides other enhancement request like "use one ftp session for
several commands" would become obsolete then.

Regards

Dan

-- 
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


Mime
View raw message