Skip to content

TransferUtility does not support downloading objects in Requester Pays buckets. #3301

Closed
@krishsingh-git

Description

@krishsingh-git

Describe the bug

TransferUtility does not support downloading objects in Requester Pays buckets.

await s3Client.DownloadToFilePathAsync(
s3Location.BucketName.Value, s3Location.Key.Value,
downloadPath.Path.Value, additionalProperties);

Expected Behavior

TransferUtility does not support downloading objects in Requester Pays buckets.
allow download ,, remove access denied error

Current Behavior

TransferUtility does not support downloading objects in Requester Pays buckets.

await s3Client.DownloadToFilePathAsync(
s3Location.BucketName.Value, s3Location.Key.Value,
downloadPath.Path.Value, additionalProperties);

Reproduction Steps

await s3Client.DownloadToFilePathAsync(
s3Location.BucketName.Value, s3Location.Key.Value,
downloadPath.Path.Value, additionalProperties);

Possible Solution

add requestpayer in transfer utility DownloadToFilePathAsync

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

AWSSDK.S3 3.7.9.17

Targeted .NET Platform

.net core 3.1

Operating System and version

window

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p2This is a standard priority issuequeueds3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions