ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <>
Subject AW: the ftp task
Date Fri, 12 Sep 2003 12:55:38 GMT

There is nothing to list directories in the ftp task.
You can get a listing of remote files.
The format of the listing is unfortunately "flat", it does not tell you in
which subdirectory the files have been found.

>From our documentation :

Listing Files

  <ftp action="list"
      <include name="**"/>

This provides a file listing in data/ftp.listing of all the files on the FTP
server relative to the default directory of the anonymous user. The listing
is in whatever format the FTP server normally lists files.

Use the remotedir attribute to list the contents of a non-default directory.

Hopes this helps.


-----Urspr√ľngliche Nachricht-----
Von: Jana Poornavel []
Gesendet: Freitag, 12. September 2003 14:12
An: 'Ant Users List'
Betreff: the ftp task

could any body would help me out
use the ftp task to list the folders
and files present in a directiry
of a ftp server


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message