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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to