Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Revert "s3: set useAlreadyExists to false for Alibaba OSS"

Nick Craig-Woodd70f40229eb5
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index de06383af..9b50228fd 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -3628,7 +3628,7 @@ func setQuirks(opt *Options) {
useUnsignedPayload = false // AWS has trailer support which means it adds checksums in the trailer without seeking
case "Alibaba":
useMultipartEtag = false // Alibaba seems to calculate multipart Etags differently from AWS
- useAlreadyExists = false // returns BucketAlreadyExists
+ useAlreadyExists = true // returns 200 OK
case "HuaweiOBS":
// Huawei OBS PFS is not support listObjectV2, and if turn on the urlEncodeListing, marker will not work and keep list same page forever.
urlEncodeListings = false