Error with tftpGET_2 no such file when changing the server

One Star

Error with tftpGET_2 no such file when changing the server

Hello,

 

We had a cron job on our server with talend that download a document and process it from our ftp. It was working for years but now we changed to AWS (Amazon Web Services) and we are having troubles to connect it to the ftp. So the problem is not about the code, but about the server. We don't have much information on why it fails but our log says:

 

 

Exception in component tFTPGet_2
2: No such file
	at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2297)
	at com.jcraft.jsch.ChannelSftp._realpath(ChannelSftp.java:1831)
	at com.jcraft.jsch.ChannelSftp.cd(ChannelSftp.java:268)
	at datatransaction.datatransaction_0_1.DataTransaction.tFTPGet_2Process(DataTransaction.java:6664)
	at datatransaction.datatransaction_0_1.DataTransaction.tMysqlInput_1Process(DataTransaction.java:4174)
	at datatransaction.datatransaction_0_1.DataTransaction.tJavaFlex_3Process(DataTransaction.java:3666)
	at datatransaction.datatransaction_0_1.DataTransaction.tMysqlConnection_1Process(DataTransaction.java:3576)
	at datatransaction.datatransaction_0_1.DataTransaction.tFileInputXML_1Process(DataTransaction.java:3447)
	at datatransaction.datatransaction_0_1.DataTransaction$17.run(DataTransaction.java:19543)
Build step 'Execute shell' marked build as failure
Finished: FAILURE

 

 

What can be the problem we are having? The files are on the path we specify, the user is correctly created and has permisions. It's not a problem about the cron because when we use the code via ssh the problem is the same.

 

We have checked the log from the old server and what it returns is the same (only changes the ip). We have the next code where we have the error on this new server:

 

file [price_2018.xml] downloaded successfully.
1 files have been downloaded.

The file is at the same place, no code or folders have been changed.

 

Any ideas on what could be the problem or how can we have a more extensive feedback from the job?

 

Thank you!

 

 

 

 


Accepted Solutions
Highlighted
One Star

Re: Error with tftpGET_2 no such file when changing the server

Okay, our hosting solved it, effectively it was because the user they created had permissions but didn't access to the same folder at the beggining of the connection...

 


All Replies
Highlighted
One Star

Re: Error with tftpGET_2 no such file when changing the server

Okay, our hosting solved it, effectively it was because the user they created had permissions but didn't access to the same folder at the beggining of the connection...

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch