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).

feita há 2 anos407 visualizações
1 Resposta
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.

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas