"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
webdav: fix server side copy/move not overwriting - fixes #6964
WeidiDeng864eb89a6721
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex cc714d826..de19e0abd 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -1047,7 +1047,7 @@ func (f *Fs) copyOrMove(ctx context.Context, src fs.Object, remote string, methoNoResponse: true,ExtraHeaders: map[string]string{"Destination": destinationURL.String(),- "Overwrite": "F",+ "Overwrite": "T",},}if f.useOCMtime {@@ -1147,7 +1147,7 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote stringNoResponse: true,ExtraHeaders: map[string]string{"Destination": addSlash(destinationURL.String()),- "Overwrite": "F",+ "Overwrite": "T",},}// Direct the MOVE/COPY to the source server