ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: FTP Task
Date Thu, 16 Sep 2004 14:08:08 GMT
The Ant FTP task only wraps the communication between one client (the 
machine running the build file) and one ftp server at a time.
If you want to iterate through a list of ftp servers, you need to invoke 
the ftp task for each server.
The <foreach/> task of ant-contrib can help you here.
Otherwise, if your idea is more like "connect to the first ftp server in 
the list which is running"
you would have to program something.
(maybe exten the ftp task, not sure ...)
Antoine

Travis Quarterman wrote:

>Is there a way to pass a list of servers host names to an FTP Ant task?
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message