Can not fetch files from FTP location

One Star

Can not fetch files from FTP location

Error message:
Starting job FTP at 16:15 07/06/2011.
connecting to socket on port 3383
connected
Exception in component tFTPFileList_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:1049)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:973)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:807)
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 first_project.ftp_1_0.FTP.tFTPFileList_1Process(FTP.java:263)
at first_project.ftp_1_0.FTP.runJobInTOS(FTP.java:808)
at first_project.ftp_1_0.FTP.main(FTP.java:679)
disconnected
Job FTP ended at 16:16 07/06/2011.
One Star

Re: Can not fetch files from FTP location

1st image is configuration for FTPFileList
2nd image is for FTPGet
Community Manager

Re: Can not fetch files from FTP location

Hi
It is failed to connect to FTP server, please check the parameters are correct and you able to ping to the server. Also, there are two design problems in the job:
1. You should use a tFTPConnection to create a ftp connection, and then use the existing connection on both component.
2. You don't set the file mask on tFTPGet component.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

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

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch