rclone/backend
Nick Craig-Wood e5a1bcb1ce s3: fix InvalidRequest copying to a locked bucket from a source with no MD5SUM
Before this change, we would upload files as single part uploads even
if the source MD5SUM was not available.

AWS won't let you upload a file to a locket bucket without some sort
of hash protection of the upload which we don't have with no MD5SUM.

So we switch to multipart upload when the source does not have an
MD5SUM.

This means that if --s3-disable-checksum is set or we are copying from
a source with no MD5SUMs we will copy with multipart uploads.

This patch changes all uploads, not just those to locked buckets
because having no MD5SUM protection on uploads is undesirable.

Fixes #6846
2023-03-17 11:34:20 +00:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all Add a native backend for oracle object storage - fixes #6299 2022-10-13 13:04:56 +01:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob build: update dependencies 2023-03-10 11:15:07 +00:00
b2 accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
box Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
cache cache: fix lint error in latest golangci-lint 2023-02-06 10:44:40 +00:00
chunker rcat: preserve metadata when Copy falls back to Rcat 2022-11-10 12:04:35 +00:00
combine fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
compress Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
crypt crypt: fix for unencrypted directory names on case insensitive remotes 2023-01-11 16:32:40 +00:00
drive drive: Make --drive-stop-on-upload-limit to respond to storageQuotaExceeded 2023-03-07 11:00:08 +00:00
dropbox all: fix spelling across the project 2022-08-30 11:16:26 +02:00
fichier all: fix spelling across the project 2022-08-30 11:16:26 +02:00
filefabric Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
ftp ftp: fix 426 errors on downloads with vsftpd 2023-03-15 18:09:29 +00:00
googlecloudstorage googlecloudstorage: added gcs requester pays 2023-03-16 17:13:37 +00:00
googlephotos fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
hasher accounting: Make checkers show what they are doing 2023-03-01 11:10:38 +00:00
hdfs build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
hidrive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
http test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
internetarchive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
jottacloud Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
koofr all: fix spelling across the project 2022-08-30 11:16:26 +02:00
local local: fix exclusion of dangling symlinks with -L/--copy-links 2023-03-07 12:15:10 +00:00
mailru mailru: allow timestamps to be before the epoch 1970-01-01 2022-11-10 11:27:01 +00:00
mega mega: add --mega-use-https flag 2023-03-02 20:28:10 +00:00
memory Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
netstorage Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
onedrive onedrive: default onedrive personal to QuickXorHash 2023-03-02 19:32:35 +00:00
opendrive build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oracleobjectstorage oracle-object-storage: bring your own encryption keys 2023-02-21 14:45:02 +00:00
pcloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
premiumizeme build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
putio build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
qingstor build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
s3 s3: fix InvalidRequest copying to a locked bucket from a source with no MD5SUM 2023-03-17 11:34:20 +00:00
seafile seafile: fix for flaky tests #6799 2023-03-02 20:03:25 +00:00
sftp sftp: fix NewObject with leading / 2022-12-15 12:40:59 +00:00
sharefile Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
sia build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
smb smb: allow SPN (service principal name) to be configured 2023-03-07 12:18:32 +00:00
storj storj: update satellite urls and labels 2023-02-06 13:18:15 +00:00
sugarsync Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
swift Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
union Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
uptobox uptobox: fix improper regex 2023-03-16 17:12:27 +00:00
webdav webdav: add support for chunked uploads — fix #3666 2023-03-17 11:09:08 +00:00
yandex build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
zoho Replace deprecated ioutil 2022-11-07 11:41:47 +00:00