"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: workarounds for biz.mail.ru
Nick Craig-Woodd85b9bc9d6fb
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex cc81fd329..a08d8975f 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -179,6 +179,9 @@ func (f *Fs) readMetaDataForPath(path string) (info *api.Prop, err error) {opts := rest.Opts{Method: "PROPFIND",Path: f.filePath(path),+ ExtraHeaders: map[string]string{+ "Depth": "1",+ },}var result api.Multistatusvar resp *http.Response@@ -563,7 +566,7 @@ func (f *Fs) mkdir(dirPath string) error {})if apiErr, ok := err.(*api.Error); ok {// already exists- if apiErr.StatusCode == http.StatusMethodNotAllowed {+ if apiErr.StatusCode == http.StatusMethodNotAllowed || apiErr.StatusCode == http.StatusNotAcceptable {return nil}// parent does not exists