Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to dowload files trough my job using tFTPFileList and tFTPGet.

Hello,

I'am newbie in talend, i try to do my second job on it and i want to retrieve files from a distant directory using an ftp connection.

I followed exactly the step listed on the talend help website (here is the link https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/2Bh7tJbkdtVnEjl4Y4fuGA ), but i got an exception on my job execution which is below :

 

[statistics] connecting to socket on port 3614
[statistics] connected
Exception in component tFTPFileList_1 (ImportFiles)
java.net.SocketTimeoutException: Accept timed out
at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.enterprisedt.net.ftp.internal.FTPActiveDataSocket.acceptConnection(FTPActiveDataSocket.java:190)
at com.enterprisedt.net.ftp.internal.FTPActiveDataSocket.getInputStream(FTPActiveDataSocket.java:217)
at com.enterprisedt.net.ftp.FTPClient.getInputStream(FTPClient.java:3364)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3957)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:4023)
at local_project.importfiles_0_1.ImportFiles.tFTPFileList_1Process(ImportFiles.java:692)
at local_project.importfiles_0_1.ImportFiles.tFTPConnection_1Process(ImportFiles.java:480)
at local_project.importfiles_0_1.ImportFiles.runJobInTOS(ImportFiles.java:2144)
at local_project.importfiles_0_1.ImportFiles.main(ImportFiles.java:1994)
[statistics] disconnected

 

The ftp server configuration is OK, i tried to browse the distant directory and download files with my browser and everything works fine.

 

what should i do or post to get help?

Can anyone help please?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

 

I resolved my problem.

In the tutorial i followed, the connection mode of the tFTPConnection component was set to "Active". I did the same on my job, but it has to be set to "Passive". Since i turned it to passive mode, every thing worked fine, i was able to iterate trough my files and pull the file i wanted to download.

 

Keep it up.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hello,

 

I resolved my problem.

In the tutorial i followed, the connection mode of the tFTPConnection component was set to "Active". I did the same on my job, but it has to be set to "Passive". Since i turned it to passive mode, every thing worked fine, i was able to iterate trough my files and pull the file i wanted to download.

 

Keep it up.