Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 14193 invoked from network); 12 Sep 2003 12:56:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Sep 2003 12:56:41 -0000 Received: (qmail 40563 invoked by uid 500); 12 Sep 2003 12:56:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 40532 invoked by uid 500); 12 Sep 2003 12:56:25 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 40519 invoked from network); 12 Sep 2003 12:56:25 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 12 Sep 2003 12:56:25 -0000 Received: from D2CFT80J (localhost.localdomain [127.0.0.1]) (authenticated) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id h8CCuNd12012 for ; Fri, 12 Sep 2003 14:56:24 +0200 From: =?iso-8859-1?Q?Antoine_L=E9vy-Lambert?= To: "Ant Users List" Subject: AW: the ftp task Date: Fri, 12 Sep 2003 14:55:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <7767D3401CCDD711890800B0D0781CCB01BB4B@CHENNAI-MAIL> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There is nothing to list directories in the ftp task. You can get a listing of remote files. The format of the listing is unfortunately "flat", it does not tell you in which subdirectory the files have been found. >From our documentation : http://ant.apache.org/manual/OptionalTasks/ftp.html Listing Files This provides a file listing in data/ftp.listing of all the files on the FTP server relative to the default directory of the anonymous user. The listing is in whatever format the FTP server normally lists files. Use the remotedir attribute to list the contents of a non-default directory. Hopes this helps. Antoine -----Urspr�ngliche Nachricht----- Von: Jana Poornavel [mailto:JPOORNAVEL@Selectica.com] Gesendet: Freitag, 12. September 2003 14:12 An: 'Ant Users List' Betreff: the ftp task could any body would help me out use the ftp task to list the folders and files present in a directiry of a ftp server jana --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org