Four Stars ars
Four Stars

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

2 REPLIES
Twelve Stars

Re: tftpPut component error

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

 

Untitled.png

Manohar B
Four Stars ars
Four Stars

Re: tftpPut component error

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,