How can I copy/duplicate a file to another directory using SFTP?
The core SFTP protocol does not support duplicating a remote file. There’s draft of copy-file extension to the protocol. But that’s supported by only few SFTP servers (ProFTPD mod_sftp and Bitvise SFTP server for example) and few SFTP clients (WinSCP for example). The most widespread SFTP server, the OpenSSH supports related copy-data only in very … Read more