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"
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.
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.
You can use unzip command. If you want to execute it from Talend use tsystem component.
1) sudo unzip file.zip or sudo unzip folder_path/text.zip -d test_folder.