Search code examples
zipconcatenationsftp

Concatenating or combining ZIP files using SFTP


I am uploading files over 100MB and I am choosing to zip the files, split the .zip and then transferring the file parts. Once transferred to the SFTP, I do not see a command to combine the .zip parts. Does SFTP have such capability? I am using vsftp, which does not appear to have that functionality. I was wondering whether there is a universal SFTP command for the function.

Thank you.


Solution

  • There's draft of copy-data/copy-file extension to the SFTP protocol, which can be used to concatenate files.

    But in the most widespread OpenSSH SFTP server and OpenSSH SFTP client (sftp) the copy-data is supported by very recent version 9.0 only. Another servers that do support it are ProFTPD mod_sftp and Bitvise SFTP server.