BUG: S3 upload response data is different per file size.

0

Uploading a 1MB file results in a response data like so:

Bucket: "..."
ETag: "..."
Key: "..."
Location: "..."
SSEKMSKeyId: "..."
ServerSideEncryption: "..."
key: "..."

On the other hand, uploading a file 5MB or larger results in a response data like this:

Bucket: "..."
ETag: "..."
Key: "..."
Location: "..."
SSEKMSKeyId: "..."
ServerSideEncryption: "..."

The difference being a larger file is missing the property "key" (lowercase k).

gefragt vor 2 Jahren407 Aufrufe
1 Antwort
0

How are you doing the upload? Using the CLI "aws s3 cp" for example, 5MB is the threshold where it automatically switches to multipart upload. That uses different API calls which would explain a different response.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen