Six Stars

tFTPPut No such file when uploading to SFTP server

Hello,

 

I'm getting a no such file error while putting a file on my server using SFTP.

 

While researching, I came to know that this error most probably relates to an incorrect remote directory. However, I'm pretty sure I've entered my remote directory as suggested in those forums.

 

Here's my tFTPPut config:

Capture2.JPG

 

Here's where I want to drop my file in the server:

Capture3.JPG

 

Here's my tFTPConnection:

Capture4.JPG

 

I'm using Talend for DI 6.4.1

4 REPLIES
Seven Stars

Re: tFTPPut No such file when uploading to SFTP server

Hi  VJanki,

 

Can you enable "move to the current directory" option in tFTPPut component.

Thanks & Regards
A Ravi Kumar
Mobile Number : +91 852-762-1083
Email-id : a.ravikumar104@gmail.com
Skype Id : ammanannaravikumar
Six Stars

Re: tFTPPut No such file when uploading to SFTP server

Hello Ravi,

 

Thank you for your reply.

 

I retried my job by enabling the "move to the current directory" option, but to no avail. I'm still encountering the error.

Five Stars

Re: tFTPPut No such file when uploading to SFTP server

Can you try once by adding asterisk at the end of the filemask

(String) globalMap.get("zipToTransfer) + "*"

 

Also try once with the Use Perl5 Regex option checked.

Seven Stars

Re: tFTPPut No such file when uploading to SFTP server

Hi VJanki,

 

What is the value of (String) globalMap.get("zipToTransfer) ?.

Can you try with putting exact file name in filemask.

If you have multiple files then use tFileList component.

 

The flow as follows :

step1.PNGstep2.PNGstep3.PNG

 

 

 

 

 

Thanks & Regards
A Ravi Kumar
Mobile Number : +91 852-762-1083
Email-id : a.ravikumar104@gmail.com
Skype Id : ammanannaravikumar