ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas_A <>
Subject Ant FTP giving Connection Timed Out Error
Date Fri, 22 May 2009 05:48:17 GMT

Hi All,

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"/>

When i run the copyFileToRemoteFTP, it is giving Connection timed out:
connect ERROR

But i am able to do the ftp(GET/PUT) operation using Command prompt without
getting any error.
c:\>ftp host

Could you please let me know if i am missing any thing.

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message