Rubun,
What I want is the ftp task can remove empty directories on the server just like
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
object.
Regards,
Kevin.
Rubun Tang <[EMAIL PROTECTED]> on 25/01/2002 09:08:29 AM
Please respond to "Ant Users List" <[EMAIL PROTECTED]>
To: 'Ant Users List' <[EMAIL PROTECTED]>
cc:
bcc: Kevin Wong/R&SA/NZ
Subject: RE: recursive deletion using ftp task
Kevin,
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?
Rubun
<snip>
**********************************************************************
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: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>