ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
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 ...)

Travis Quarterman wrote:

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message