DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13876>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13876

FTP task "remotedir" attribute support also for GET action

           Summary: FTP task "remotedir" attribute support also for GET
                    action
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It would be useful to have "remotedir" supported with ftp GET-action
for example
<ftp action="get"
     server="myhost"
     remotedir="pub/mystuff">

     <fileset dir="download">
         <include name="*.txt"/>
     </fileset>
</ftp>

would end up downloading all *.txt files from "ftp://myhost/pub/mystuff"; 
to "./download". 
Now I must use
     <fileset dir="download">
         <include name="pub/mystuff/*.txt"/>
     </fileset>
and everything goes to ".download/pub/mystuff"

In some cases this is not desired because the local directory structure must be 
the same as the one on ftp-server and the files must be copied to the right 
directories afterwards.

e.g. with using <ftp> to manage dependencies: I need to automatically download 
a foolib-1-1.jar-file for my build from an url 
ftp://srv/pub/mirrors/foobar.com/download/foolib-1-1.jar. This would now mean 
that my build directory structure should 
have "pub/mirrors/foobar.com/download/" directory or I should copy the jar-file 
to my projects "lib" directory in which case there are useless copies of the 
jar files on my computer.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to