Skip to content

Support non-slash-ending prefixes in S3 Transfer #1721

Open
@alex-at-cascade

Description

@alex-at-cascade

This code:

. (isset($parts['Key']) ? $parts['Key'] . '/' : '');

assumes that the S3 key prefix will be a full "path like component" for downloads, and forces it to end in a slash. However, in our use case the prefix is just the common starting part of the name for several objects that we want to download all at once. (We're encountering this as we update some old code from sdk v2 to sdk v3.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-major-versionCan only be considered for the next major releaseno-autocloseThis issue should not be auto-closed by stale-issue-cleanup action.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions