ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <kad...@gfs.com>
Subject FTP and del
Date Thu, 14 Feb 2002 16:25:27 GMT
I'm using Ant 1.4 and accompanying optional jar.

I just want the <ftp> task to delete a directory, or failing that, all the files in
the directory.

    <ftp action="del"
    server="ftp.gfs.com"
    remotedir="${ftp.path}" 
    userid="${ftp.user}" 
    password="${ftp.password}" >
         <fileset>
            <include name="**/*.jsp"/>
         </fileset>
      </ftp>

What I get:

ftp:
      [ftp] deleting files
      [ftp] 0 files deleted

This is unfortunate, because when there are 16 files in a subdirectory of ${ftp.path}.  I've
verified ${ftp.path} is correct, and the task itself is take straight from the example given
in <ftp>'s documentation... I'm at a loss here.

Ideas?

Kyle


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message