From David.ALIA-SC@AirLiquide.com Fri Mar 28 16:36:57 2003 Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 24118 invoked from network); 28 Mar 2003 16:36:57 -0000 Received: from smtp.fr.airliquide.com (HELO alxparis.corp.airliquide.com) (194.2.193.253) by daedalus.apache.org with SMTP; 28 Mar 2003 16:36:57 -0000 Received: from fr-s-ples-exch0.eu.corp.airliquide.com ([172.26.12.120]) by alxparis.corp.airliquide.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id HSQPCL22; Fri, 28 Mar 2003 17:36:57 +0100 Received: by fr-s-ples-exch0.eu.corp.airliquide.com with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Mar 2003 17:36:57 +0100 Message-ID: <0003E227F36E954E8925433257D18F336CD38A@fr-s-ples-exch5.eu.corp.airliquide.com> From: "ALIA-SC, David" To: Ant Users List Subject: RE : How to delete directory using ? Date: Fri, 28 Mar 2003 17:36:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks Robert, That's what I needed. David -----Message d'origine----- De : Robert r. Sanders [mailto:robert.sanders@ipov.net]=20 Envoy=E9 : vendredi 28 mars 2003 17:12 =C0 : Ant Users List Objet : Re: How to delete directory using ? Not sure how to do so with the ftp task included with Ant. check out=20 our refactoring of the code at http://oss.ipov.org/iftp-ant/ it makes = the task definitions much easier, including the ablity to delete entire = directory trees if you and. It is available under the Apache license. = Internally it uses the same NetComponents classes that the Ant ftp = does,=20 just with a easier to use set of task definitions. ALIA-SC, David wrote: >Hi, > >The doc says : > >"As you've probably guessed by now, you use nested fileset elements to = >select the files to delete from the remote FTP server. Again, the=20 >filesets are relative to the remote directory, not a local directory.=20 >In fact, the dir attribute of the fileset is ignored completely. " > >So how can I delete a remote directory ? > >(I've tried in the = but it=20 >only deletes files in the ${dir} directory, not the directory=20 >itself...) > >David > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > =20 > --=20 Robert r. Sanders Chief Technologist iPOV www.ipov.net --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org