Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Command line in Talend to call Unix based operating system

Hello,

 

Anyone calls the Unix based server and get the file using SFTP?

 

Currently I am using 7Z command line to get the file from SFTP, but in real time clients has the data in Unix based environment.

 

"cmd /c 7z.exe x C:/Users/deepakg/input/*.zip -oC:/Users/deepakg/output/"+TalendDate.getDate("yyyy-MM-dd")+" -y"

 

Regards,

Deepak

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi Deepak ,

 

Talend provides FTP components like tFTPGet , tFTPConnection , tFTPPut and etc. By using these components we can pull files from FTP server and load.

 

 

Anonymous
Not applicable
Author

Hello Ravi,

 

I would need the command line for unix box to unzip the files. 

 

Just like using 7z we can do the unzip the zip file. The same way I need it for unix.

 

Regards,

Deepak

Anonymous
Not applicable
Author

Hi Deepak,

 

You can use unzip command. If you want to execute it from Talend use tsystem component.

 

Example :

1) sudo unzip file.zip or sudo unzip folder_path/text.zip -d test_folder.