| Author |
FTP Task giving "Connection timed out: connect" Error
|
sasank ch
Greenhorn
Joined: Nov 07, 2007
Posts: 25
|
|
Hi All,
I am uisng ftp task to copy local files into Remote System and ftp task as follows:
<target name="copyFileToRemoteFTP">
<ftp server="${host}" userid="${userid}" password="${password}" remotedir="/pub/incoming" port="21" >
</ftp>
</target>
When i run the above target copyFileToRemoteFTP , it is giving me the following errror:
error during FTP transfer: java.net.ConnectException: Connection timed out: connect
But i am able to get and put using command line FTP:
c:\>ftp hostmachine
Could anybody please help me to solve this problem. It would be great help to me
Regards,
Sasank
|
 |
 |
|
|
subject: FTP Task giving "Connection timed out: connect" Error
|
|
|