ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Post <je...@genesyslab.com>
Subject RE: FTP task
Date Thu, 24 May 2001 00:00:27 GMT
I would think that you would just use the ftp task repeatedly, each time
with a different remotedir and a different fileset.
 
JP

-----Original Message-----
From: Urmi Roy [mailto:URoy@therealm.com]
Sent: Wednesday, May 23, 2001 3:28 PM
To: 'ant-user@jakarta.apache.org'
Subject: FTP task


Hi,
 
I want to ftp files to different folders in my server. But the following
code just uses one folder(the remotedir) as the target directory on the
server.  Is there a way to use nested remotedirs as targets with different
filesets as the source?
<target name="ftpgog">
 
<ftp server="gog.myorg.com"
 
remotedir="/export/lib"
 
userid="admin"
 
password="web">
 
<fileset dir="${parentdir}/lib/">
 
</fileset>
 
</ftp>
 
</target>   
 
Thanks for any input.
 
Urmi


Mime
View raw message