I have a client-side application which modifies a data file on a file share. Essentially every time the application runs I'd like to back up the data file to a backups folder on the share.
Unfortunately the link between the client and the network share isn't always great. People connect over VPN and it can take a long time to perform a regular file copy.
I think the standard procedure for file copying between network shares is to copy it from the first network share to your local machine, and then from there to the destination share, even if the two shares are the same, right? Is there any way to initiate a file duplication to be carried out on the server itself?
It would have to be with standard commands available to SMB clients because I don't have any control over the file server.
3.2.4.11.2 Performing a Server-Side Data Copyand4.6 FSCTL SRV COPYCHUNKof the SMB protocol spec – Zoredache Aug 23 '11 at 23:11