I'm wondering which file transfer protocols available on Linux support server-side copying (and doesn't internally download and reupload files). The simplest use case I have is for copying large files (such as VMs) from one directory to another on the same share.
I know Samba 4.1.0 recently implemented support for FSCTL_SRV_COPYCHUNK in the SMB2 protocol, but as far as I know, no client-side tool/file manager supports this yet (link). I've also looked at AFP, but the only two Linux tools for mounting AFP shares are gvfs-afp
and afpfs-ng
and neither are too great. afpfs-ng is unmaintained and doesn't cooperate well with netatalk (segfaults), while gvfs-afp has very low throughput compared to afpfs-ng when it works. Update: it looks like the next version of NFS might support this too.
Are there any other protocols that support server-side copying?
Thanks in advance!