ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas_A <srinivasv_amb...@yahoo.com>
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"/>
  </ftp>
</target>

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.

Regards,
Srinivas
-- 
View this message in context: http://www.nabble.com/Ant-FTP-giving-Connection-Timed-Out-Error-tp23664786p23664786.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message