Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35405 invoked from network); 16 Mar 2005 21:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 21:54:59 -0000 Received: (qmail 7009 invoked by uid 500); 16 Mar 2005 21:54:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6972 invoked by uid 500); 16 Mar 2005 21:54:54 -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 6959 invoked by uid 99); 16 Mar 2005 21:54:54 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of skijor@gmail.com designates 64.233.184.197 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.197) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 16 Mar 2005 13:54:53 -0800 Received: by wproxy.gmail.com with SMTP id 37so2166wra for ; Wed, 16 Mar 2005 13:54:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Jd7fwnwU6dXnYLTpv5SsQA0j4zDUjg7VuaQCzoapiUOdxGHWzdz1mGRkT3MRkGZYpI01TK1wOf5k0loI3C5MrxOON3LlNM0SBT9k76P6GHKyxLLUSJMDhSiSM+PG39E73NgqQmtOoRFfnrYfHT1vd321QrMuAY1B0TWy2rP01BU= Received: by 10.54.25.32 with SMTP id 32mr1772270wry; Wed, 16 Mar 2005 13:54:44 -0800 (PST) Received: by 10.54.4.54 with HTTP; Wed, 16 Mar 2005 13:54:44 -0800 (PST) Message-ID: Date: Wed, 16 Mar 2005 16:54:44 -0500 From: Mike Starkie Reply-To: Mike Starkie To: Ant Users List Subject: Re: ftp question 1.5.4 In-Reply-To: <20050316212017.45325.qmail@web30901.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050316212017.45325.qmail@web30901.mail.mud.yahoo.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This works fine but there's one glitch: I want to download junit.jar and it's on the ftp server under junit/junit.jar, i place a line in my dependencies file: "junit/junit.jar" and the task downloads the file to a local directory called "junit/junit.jar". Everything is fine except I don't want the local directory to mirror the remote directory. How to specify the local path for a "GET"? (to get rid of the "junit/" and just put the jar file in ${test.lib.path} On Wed, 16 Mar 2005 13:20:17 -0800 (PST), Matt Benson wrote: > You should try using a nested fileset with the ftp > task, and setting the includesfile attribute of your > fileset to the file containing the list of names. > > -Matt > > --- Mike Starkie wrote: > > I'm forced to use ant 1.5.4 and I would like ant to > > read a list of > > filenames stored in a file and do an ftp 'get' on > > each one of them. > > Is this possible using the ftp task? > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > > user-help@ant.apache.org > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org