Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

using tFTPGet and tGSPut without local directories

Hi All,

I'm kinda new to Talend and Integration cloud, I need to know if there is a way to read a file from FTP server, make some changes, then upload it to Google cloud storage, But, without having to specify a local directory ?

I'm running the job on Cloud (Not RE), and when I specify a local directory in tFTPGet or tGSPut it gives an error "path not found".

 

I'm using 

Talend Integration Cloud Hybrid Edition

Version: 6.5.1
Build id: 20180116_1512

 

Thanks,

Mahmoud.

Labels (2)
1 Solution

Accepted Solutions
Jesperrekuh
Specialist
Specialist

Hard to tell what's going on here... maybe mounting, relative paths...
You could to try to use some tSystem component to get environment specs and use it as input for your FTP.

View solution in original post

6 Replies
Jesperrekuh
Specialist
Specialist

You could simply try:    /   as path... it will use the default path you login from 

Anonymous
Not applicable
Author

Thanks for the reply @Dijke, I've tried that but still got an error "Caused by: java.io.FileNotFoundException: /20180523_0404_SV.TXT "

 

I'm testing with a job of only two components for now as attached, when specifying a local directory and run it on RE it works fine, but on Cloud it's not working even when using "/"  0683p000009MPcz.png(( 

 


FTPGet.PNG
Jesperrekuh
Specialist
Specialist

Hard to tell what's going on here... maybe mounting, relative paths...
You could to try to use some tSystem component to get environment specs and use it as input for your FTP.
manodwhb
Champion II
Champion II

In sftp location are you sure do you have file in / directory?
cterenzi
Specialist
Specialist

The default location may not correspond to the root "/" path.  Maybe try "./" instead?

Anonymous
Not applicable
Author

Thanks @Dijke, that worked fine, I used tSystem to run "pwd" and saved the path in a context variable to use in other components.