"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
smb: fix server-side move of directories with special characters in the name - fixes #9677
Nick Craig-Wood088f68f3c324
diff --git a/backend/smb/smb.go b/backend/smb/smb.goindex afb730332..13d800501 100644--- a/backend/smb/smb.go+++ b/backend/smb/smb.go@@ -438,7 +438,7 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string}defer f.putConnection(&cn, err)- _, err = cn.smbShare.Stat(dstPath)+ _, err = cn.smbShare.Stat(f.toSambaPath(dstPath))if os.IsNotExist(err) {err = cn.smbShare.Rename(f.toSambaPath(srcPath), f.toSambaPath(dstPath))return translateError(err, true)