Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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,