1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-23 21:44:49 +02:00

s3: set useAlreadyExists to false for Alibaba OSS

This commit is contained in:
zjx20
2025-07-22 15:04:19 +08:00
committed by Nick Craig-Wood
parent 2b10340e4e
commit 64ed9b175f

View File

@@ -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 = true // returns 200 OK
useAlreadyExists = false // returns BucketAlreadyExists
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