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: [email protected]
For additional commands, e-mail: [email protected]