Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Haresh
Contributor
Contributor

Copying the same file across 2 linux servers using talend

I am using talend studio 7.3 and am trying to copy a specific file called test.csv between 2 linux servers in this case

I would want to overwrite the file in the target destination unix server

Source :oldserver

destination:newserver (username/password) to login and then do sudo su - auser

Filepath same across servers: home/location/scripts/test.csv

I would normally do cd to go the file location and then perform a cp to move them over manually in unix.But how can i use a job to perform the same operation or i can even use a windows path as a staging source in the middle as transit before copying over to destination server

I tried using tSSH,tSystem,tSCPGet,tSCPPut -but none of them gave what i was expecting,so please help!

1 Reply
Anonymous
Not applicable

Hello,

You could keep the file on an FTP server and acquire it using the tFTP components.

or mount such directories with samba as a node in your local filesystem on Linux. And then, try to access shared folder from Talend.

Best regards

Sabrina