One Star

Issues with tFTPGet component

Hi,
I'm having problems with the tFTPGet component when I'm trying to get all .txt from a directory and their sub-directories. Besides the problem in http://www.talendforge.org/forum/viewtopic.php?id=33987, I'm now getting this error message:
connected
Exception in component tFTPGet_1
java.net.ConnectException: Connection refused: 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.initGet(FTPClient.java:2989)
disconnected
at com.enterprisedt.net.ftp.FTPClient.getData(FTPClient.java:3049)
at com.enterprisedt.net.ftp.FTPClient.getFile(FTPClient.java:2873)
at com.enterprisedt.net.ftp.FTPClient.get(FTPClient.java:2269)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.downloadFile(ftp3.java:541)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.getAllFiles(ftp3.java:435)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.getAllFiles(ftp3.java:444)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.getAllFiles(ftp3.java:444)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.getAllFiles(ftp3.java:444)
at test_di.ftp3_0_1.ftp3$1FTPGetter_tFTPGet_1.getAllFiles(ftp3.java:444)
at test_di.ftp3_0_1.ftp3.tFTPGet_1Process(ftp3.java:614)
at test_di.ftp3_0_1.ftp3.tFTPConnection_1Process(ftp3.java:356)
at test_di.ftp3_0_1.ftp3.runJobInTOS(ftp3.java:852)
at test_di.ftp3_0_1.ftp3.main(ftp3.java:718)
Do you know anything about these issues with this component?
Thanks
2 REPLIES
Seventeen Stars

Re: Issues with tFTPGet component

The host or the port is incorrect. Check your connection properties with a simple ftp client or simply telnet:
example: telnet my_host 21
One Star

Re: Issues with tFTPGet component

It is correct, the connection is working.