"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
s3: force path style bucket access to off for AWS deprecation
Nick Craig-Wood9d993e584b01
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 68b78641d..5ea0a5a24 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -765,7 +765,9 @@ if false then rclone will use virtual path style. See [the AWS S3docs](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro)for more info.-Some providers (eg Aliyun OSS or Netease COS) require this set to false.`,+Some providers (eg AWS, Aliyun OSS or Netease COS) require this set to+false - rclone will do this automatically based on the provider+setting.`,Default: true,Advanced: true,}, {@@ -1028,7 +1030,7 @@ func s3Connection(opt *Options) (*s3.S3, *session.Session, error) {if opt.Region == "" {opt.Region = "us-east-1"}- if opt.Provider == "Alibaba" || opt.Provider == "Netease" || opt.UseAccelerateEndpoint {+ if opt.Provider == "AWS" || opt.Provider == "Alibaba" || opt.Provider == "Netease" || opt.UseAccelerateEndpoint {opt.ForcePathStyle = false}awsConfig := aws.NewConfig().