Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 15881 invoked by uid 500); 6 Apr 2001 06:08:31 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 15871 invoked from network); 6 Apr 2001 06:08:30 -0000 Message-ID: <004c01c0be60$30340fb0$21710eca@mantis> From: "Paul Dillon" To: Subject: FTP and remote subdirs Date: Fri, 6 Apr 2001 16:09:50 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0049_01C0BEB4.01D0DD70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0049_01C0BEB4.01D0DD70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I can not get the ftp task to delve into sub-directories on the remote = server. In particular, I am trying to delete all files below a = directory, as follows: I've tried a billion different combinations of fileset, under no = circumstance does the ftp task ever go into sub directories. This is = also true for the list action - I can only ever list files in the = starting directory. I've tried this against a Solaris 8, and a Linux Redhat 6.x system with = the same result. I'm using NetComponents-1.3.8a, which was the only = version available from www.savarese.org. Any help appreciated! - Paul ------=_NextPart_000_0049_01C0BEB4.01D0DD70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I can not get the ftp task to delve = into=20 sub-directories on the remote server.  In particular, I am trying = to delete=20 all files below a directory, as follows:
 
<ftp server=3D"${deploy.server}"=20 userid=3D"${deploy.user}" password=3D"${deploy.password}" = remotedir=3D"${deploy.dir}"=20 action=3D"del">
  <fileset>
    <include=20 name=3D"**/*"/>
  </fileset>
</ftp>
 
I've tried a billion different = combinations of=20 fileset, under no circumstance does the ftp task ever go into sub=20 directories.  This is also true for the list action - I can only = ever list=20 files in the starting directory.
 
I've tried this against a Solaris 8, = and a Linux=20 Redhat 6.x system with the same result.  I'm using = NetComponents-1.3.8a,=20 which was the only version available from www.savarese.org.
 
Any help appreciated!
 
- Paul
------=_NextPart_000_0049_01C0BEB4.01D0DD70--