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 Thu, 24 Jan 2002 21:58:28 GMT

My apologies. I've mistaken the ftp task with the telnet task I've been
working on.
Check out the API-Doc for FTPClient, they do have a method for directory

hope this helps.

Rubun T

-----Original Message-----
From: []
Sent: Thursday, January 24, 2002 5:26 PM
To: Ant Users List
Subject: RE: recursive deletion using ftp task


What I want is the ftp task can remove empty directories on the server just
the delete task with the includeEmptyDirs="true" attribute does.

I have checked through the source code in the ftp class and there is no
reference anywhere to perform a remove directory method with the FTPClient


Rubun Tang <> on 25/01/2002 09:08:29 AM

Please respond to "Ant Users List" <>

To:   'Ant Users List' <>
bcc:  Kevin Wong/R&SA/NZ
Subject:  RE: recursive deletion using ftp task


When you say removing a directory on the ftp server, how do you do it? Do
you ftp to the server, and use the ftp task to delete the directory, (e.g.
<write>rm -r target ), or do you ftp to the server, and call another ant
script to delete it?



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