ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubun Tang <>
Subject RE: recursive deletion using ftp task
Date Wed, 23 Jan 2002 23:07:27 GMT

I'm not sure what you really want to do. Do you try to delete files
recursively through another ant file in the remote server? Have you tried
using that build.xml locally and see if it works? Please provide more
details or maybe a piece of code so that we can take a look at.

Rubun T

-----Original Message-----
From: []
Sent: Tuesday, January 22, 2002 10:34 PM
Subject: recursive deletion using ftp task


I am trying to use the ftp task to recursive delete files and folder on a
server.  I am using a fileset to specify the files to be deleted.  However,
wildcard is used to specifiy recursive folders in the include of the
the task will not work.

The task works fine deleting multiple files in a single directory, but not
recursively into the sub-directories.

I also tried using multiple includes for the fileset.  This turns out that
the last include in the list will be executed.

Moreover, I cannot find a way to remove a directory on the server using the
task.  Are there anyway to do this?

Any help would be appreciated.

Kevin Wong.

CAUTION - This message is intended for the addressee named above. It
may contain privileged or confidential information. If you are not the 
intended recipient of this message you must not use, copy, distribute 
or disclose it to anyone.

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message