"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: if MKCOL fails with 423 Locked assume the directory exists
Nick Craig-Wood8217f361cc78
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex 3c2db188d..f77a37ccd 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -649,7 +649,8 @@ func (f *Fs) mkdir(dirPath string) error {err := f._mkdir(dirPath)if apiErr, ok := err.(*api.Error); ok {// already exists- if apiErr.StatusCode == http.StatusMethodNotAllowed || apiErr.StatusCode == http.StatusNotAcceptable {+ // owncloud returns 423/StatusLocked if the create is already in progress+ if apiErr.StatusCode == http.StatusMethodNotAllowed || apiErr.StatusCode == http.StatusNotAcceptable || apiErr.StatusCode == http.StatusLocked {return nil}// parent does not exist