Originally Posted by edimanic
Hello All ,
i am trying to convert one script to SFTP from FTP . in the FTP script there is command append is used as below:
append dirA\inpFile dirB\outFile
i can see append command is not valid in SFTP . kindly let me know equivalent valid SFTP command to be use in this case ...
There isn't, since (as you said), append isn't supported in SFTP. You can use SSH to append to a file, but not via SFTP:
cat file | ssh user@host "cat >> /path/to/remote-file"
Since you don't post your full script, tell us what you're trying to accomplish, what version/distro of Linux, or give any details, the best we can tell you is to read the man pages.