ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jackson <foamd...@gmail.com>
Subject Re: Ant FTP giving Connection Timed Out Error
Date Fri, 22 May 2009 06:57:19 GMT
Hi,

> I am doing FTP using ANT script and the target as follows:
> <target name="copyFileToRemoteFTP">
>  <ftp  server="${host}"  userid="{userid}" password="{password}"
> remotedir="/pub/incoming" port="21" >
>      <fileset dir="htdocs/manual" file="sample.txt"/>
>  </ftp>
> </target>

Try setting the retriesAllowed to -1 to keep retrying

Kev

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


Mime
View raw message