I am trying to run the below Linux command through tsystem component. But always i am getting no such file or directory error. I checked the file in /home/talend path and the file is available with the required privilege.
"ftp -n -s:/home/talend/ftpfile.txt FTP_Server"
Could you help me how to run this command through tsystem component connecting Linux server?
Thanks for your reply. The error is "No such file or directory"
I followed the step mentioned in the below link. But I have got the same error
The objective is to extract the CDC data generated in AS400. The below command should execute through ftp utility. So placed all these commands in file and passed the file to ftp command as a argument.
quote rcmd "cdc/RUNCDC FILE(schema/table) LIBOUT(app) MODE(*DETACHED) MBROPT(*ADD)"
Try to use tSSH component.
Put your password between "" like "password"
Put one command by line (see sreenshot)
Don't forget to escape the " caracter if needed like I do in the screenshot. ( \" )
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn about modern data engineering in the Cloud
Learn how to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud registries
Pick up some tips and tricks with Context Variables