yes it works. I just moved all the jar files on the server to a
single directory and the following target will read from a list of
files, download each one and place them in a single dirctory for use
in a classpath:
<!-- Retrieve packages dependant on -->
<target name="get-depend" depends="init" if="depends.file.present"
description="Retrieve the packages this is dependant on." >
<ftp action="get"
binary="yes"
server="${repository.address}"
userid="ftpstore"
password="ftpstore">
<fileset dir="${lib.path}">
<includesfile
name="${basedir}/dependencies.txt"/>
</fileset>
</ftp>
</target>
On Wed, 16 Mar 2005 16:29:39 -0700, Vadim Kazakov
<[EMAIL PROTECTED]> wrote:
> Didn't realize the listing was stored on the local computer. Then I
> guess my response doesn't really apply.
>
> -----Original Message-----
> From: Vadim Kazakov [mailto:[EMAIL PROTECTED]
> Sent: March 16, 2005 2:18 PM
> To: Ant Users List; Mike Starkie
> Subject: RE: ftp question 1.5.4
>
> You can use the <ftp action="list" listing="list.txt"/>
> Attributes and then somehow parse the list.txt file in order to get each
> file in that list.
>
> -----Original Message-----
> From: Mike Starkie [mailto:[EMAIL PROTECTED]
> Sent: March 16, 2005 2:08 PM
> To: [email protected]
> Subject: ftp question 1.5.4
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]