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: 
Ed6
Contributor III
Contributor III

tFTPPut problem in 6.1.1

Hi all, we're hitting a problem when we try to do even simple file puts using the tFTPPut component.
I'm able to pull a file from a vendor in the FTPGet, but when I reference the exact same filemask entries I get an exception.


Exception in component tFTPPut_1

2: The system cannot find the file specified. 
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:2198)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:2215)
at com.jcraft.jsch.ChannelSftp.stat(ChannelSftp.java:2172)
at [...].tFTPPut_1Process(Illinois.java:1412)
at [...].tFTPGet_1Process(Illinois.java:1201)
at [...].tCheckpoint_1Process(Illinois.java:887)
at [...].runJobInTOS(Illinois.java:4689)
at [...].main(Illinois.java:4512)


Does anyone have any suggestions? I know the sftp connection is open, I've got it as a prejob before the main job checkpoint.

Labels (2)
3 Replies
Anonymous
Not applicable

Hi,
The error indicates that it can't find the specified files in the path. How did you set remote directory in FTPPut component? It seems there is something wrong with remote directory.
Best regards
Sabrina
Ed6
Contributor III
Contributor III
Author

Hi Sabrina, thank you for your reply.
We ended up walking through the Java and performing the sftp steps. The problem is the vendor monitors the directory and pulls the file before Talend has a chance to go in and rename the file to what is listed in the filemask. The component produces and error due to the vendor having already pulled the file, thus triggering the ComponentError path.
Since there is no option to skip the attempt to rename, we are simply going to keep additional backup copies of the files we are sending and assume the ComponentError and ComponentOk are both OK.
Anonymous
Not applicable

Hi,
Thanks for your feedback and sharing the solution with us.
Best regards
Sabrina