[resolved] tFTPPut Error

One Star

[resolved] tFTPPut Error

Kindly share your ideas if you have encountered the problem below.
Exception in component tFTPPut_1
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:83)
at com.enterprisedt.net.ftp.FTPControlSocket.newPassiveDataSocket(FTPControlSocket.java:931)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:838)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:563)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2561)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3468)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3424)
at out_pgp.ftp_child17022015_0_1.FTP_Child17022015.tFTPPut_1Process(FTP_Child17022015.java:874)
at out_pgp.ftp_child17022015_0_1.FTP_Child17022015.tFTPConnection_1Process(FTP_Child17022015.java:731)
at out_pgp.ftp_child17022015_0_1.FTP_Child17022015.tFileExist_1Process(FTP_Child17022015.java:617)
at out_pgp.ftp_child17022015_0_1.FTP_Child17022015.runJobInTOS(FTP_Child17022015.java:3159)
at out_pgp.ftp_child17022015_0_1.FTP_Child17022015.runJob(FTP_Child17022015.java:2963)
at out_pgp.ftp_parent_0_1.FTP_Parent.tOracleInput_2Process(FTP_Parent.java:4440)
at out_pgp.ftp_parent_0_1.FTP_Parent.runJobInTOS(FTP_Parent.java:6732)
at out_pgp.ftp_parent_0_1.FTP_Parent.main(FTP_Parent.java:6569)
Exception in component tRunJob_1
java.lang.RuntimeException: Child job running failed
at out_pgp.ftp_parent_0_1.FTP_Parent.tOracleInput_2Process(FTP_Parent.java:4462)
at out_pgp.ftp_parent_0_1.FTP_Parent.runJobInTOS(FTP_Parent.java:6732)
at out_pgp.ftp_parent_0_1.FTP_Parent.main(FTP_Parent.java:6569)
Your response is highly appreciated.

Accepted Solutions
One Star

Re: [resolved] tFTPPut Error

This is now working. Thank you for your time.
I resolved this issue when I changed the Connection Mode of the tFTPConnection from Passive to Active.

All Replies
Seventeen Stars

Re: [resolved] tFTPPut Error

The host or port you have set is wrong. This exception occurs if no TCP connection can be established.
Are you sure about the host name or IP address and are you sure about the port on which the FTP server is running?
One Star

Re: [resolved] tFTPPut Error

Thank you for the answer..
Yes, the IP address I used is working. I checked it by typing ping ip_address in the cmd command.
Also I am using WinSCP to connect to the Host that's why I am sure it is correct.
What should be the other reason why I am encountering this error?..
Seventeen Stars

Re: [resolved] tFTPPut Error

You have missed to mention the port. I would not ping the server I would use e.g. a real FTP client to check the connection or simply you check it with telnet:
# telnet your_host your_ftp_port
If you can establish a connection -> I would be surprised.
One Star

Re: [resolved] tFTPPut Error

This is now working. Thank you for your time.
I resolved this issue when I changed the Connection Mode of the tFTPConnection from Passive to Active.


Talend named a Leader.

Get your copy


Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables


How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration


Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now