Use of tFTPConnection

Highlighted
One Star

Use of tFTPConnection

I use the tFTPConnection component to connect to ftp. Below is my job:


component throwing below exception though credentials are correct.
Exception in component tFTPConnection_1
com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
    at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1014)
    at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1074)
    at com.enterprisedt.net.ftp.FTPControlSocket.validateConnection(FTPControlSocket.java:418)
    at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:384)
    at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:355)
    at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:958)
Moderator

Re: Use of tFTPConnection

Hi,
Can you connect to FTP server successfully without using Talend Tool?
What's your connection mode (passive vs active) in tFTPConnection?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Use of tFTPConnection

I use passive connection in tFTPConnection_1 component. I can connect to FTP server through java code i.e. using FTPClient class by apache api.