mirror of
https://github.com/rclone/rclone.git
synced 2025-02-21 09:19:25 +08:00

Before this change a server side copy did not preserve the modtime. This used to work on nextcloud but at some point it started ignoring the `X-Oc-Mtime` header. This patch sets the modtime explicitly after a server side copy if the `X-Oc-Mtime` wasn't accepted. This problem was discovered in the integration tests.