"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
Revert "s3: fix InvalidRequest copying to a locked bucket from a source with no MD5SUM"
Nick Craig-Woodd481aa86130a
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 785969bd7..4d4994302 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -1912,9 +1912,6 @@ size (e.g. from "rclone rcat" or uploaded with "rclone mount" or googlephotos or google docs) they will be uploaded as multipart uploadsusing this chunk size.-Files with no source MD5 will also be uploaded with multipart uploads-as will all files if --s3-disable-checksum is set.-Note that "--s3-upload-concurrency" chunks of this size are bufferedin memory per transfer.@@ -1970,11 +1967,7 @@ The minimum is 0 and the maximum is 5 GiB.`,Normally rclone will calculate the MD5 checksum of the input beforeuploading it so it can add it to metadata on the object. This is greatfor data integrity checking but can cause long delays for large files-to start uploading.--Note that setting this flag forces all uploads to be multipart uploads-as we can't protect the body of the transfer unless we have an MD5.-`,+to start uploading.`,Default: false,Advanced: true,}, {@@ -5507,12 +5500,6 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op}}}- // If source MD5SUM not available then do multipart upload- // otherwise uploads are not hash protected and locked buckets- // will complain #6846- if !multipart && md5sumHex == "" {- multipart = true- }// Set the content type it it isn't set alreadyif req.ContentType == nil {