i am facing issue while ftp using the command file, but i don't face the executing using the manual execution of commands..
i need to ftp while connecting to ssh machine, the command file is available in the tmp directory.
i did with
cd "FtpFolder" with single quotes , without single and double quotes it does not work
but manual commands work any clue..
ssh username@serverip 'cd /tmp; cat cmd_tmp.txt | sftp -oPort=1234 sftpuser@sftpidadress'
Connecting to 111.222.333.1... sftp> Couldn'sftp> sftp> sftp> sftp>
cd "FtpFolder" mget "YYYYMMDD_REPORT - AUTO SAVE _ 1.TXT"