Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ars
Contributor III
Contributor III

tftpPut component error

Hi all,

 

I'm using tFTP component in order to upload a file to an SFTP server. Talend returns below error message:

 

Exception in component tFTPPut_1
2: No such file
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)

 

According to my investigaetion, it seems that the error is raised because our partner monitors the directory and pulls the file before Talend has a chance to go in and confirm or not file upload. So the component produces the error because there is no file for confirmation!!!

 

 Is there any "skip" option - any workaround in general - in order to avoid that error or is there any other option to upload the file ?

 

I'm using Talend Open Studio 5.6.2

 

Regards,

 

Ars

Labels (3)
2 Replies
manodwhb
Creator III
Creator III

@ars,you can try to OverWrite the file by specifying below way,check this may usefull?

 

0683p000009LyWq.png

ars
Contributor III
Contributor III
Author

hi @manodwhb,

 

thanks for your suggestion but it's not working. 'Overwrite' is alredy selected and is not resolving the issue!!!

 

to be correct, 'overwrite' is an option you need to select, if the file is going to be uploaded is already existed in remote directory and you need to overwrite it.

this is how working 🙂

 

regards,