s3: update Scaleway's configuration options - fixes #7507

In order to handle special character, the configuration must specify
rclone configuration to use `list_url_encode`.
This commit is contained in:
Alexandre Lavigne 2024-03-31 18:42:20 +02:00 committed by GitHub
parent bce80be2f8
commit f9429de807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

@ -3190,8 +3190,8 @@ func setQuirks(opt *Options) {
if opt.MaxUploadParts > 1000 { if opt.MaxUploadParts > 1000 {
opt.MaxUploadParts = 1000 opt.MaxUploadParts = 1000
} }
urlEncodeListings = false urlEncodeListings = true
useAlreadyExists = false // untested useAlreadyExists = true
case "SeaweedFS": case "SeaweedFS":
listObjectsV2 = false // untested listObjectsV2 = false // untested
virtualHostStyle = false virtualHostStyle = false

View File

@ -3359,10 +3359,11 @@ endpoint = s3.nl-ams.scw.cloud
access_key_id = SCWXXXXXXXXXXXXXX access_key_id = SCWXXXXXXXXXXXXXX
secret_access_key = 1111111-2222-3333-44444-55555555555555 secret_access_key = 1111111-2222-3333-44444-55555555555555
region = nl-ams region = nl-ams
location_constraint = location_constraint = nl-ams
acl = private acl = private
server_side_encryption = upload_cutoff = 5M
storage_class = chunk_size = 5M
copy_cutoff = 5M
``` ```
[C14 Cold Storage](https://www.online.net/en/storage/c14-cold-storage) is the low-cost S3 Glacier alternative from Scaleway and it works the same way as on S3 by accepting the "GLACIER" `storage_class`. [C14 Cold Storage](https://www.online.net/en/storage/c14-cold-storage) is the low-cost S3 Glacier alternative from Scaleway and it works the same way as on S3 by accepting the "GLACIER" `storage_class`.