What is the maximum length of a filename in S3

Amazon S3Amazon Web-Services

Amazon S3 Problem Overview


Maybe I'm blind but i can't find, in S3 documentation, the maximum file name length that can be uploaded in S3.

Amazon S3 Solutions


Solution 1 - Amazon S3

As follows from the Amazon documentation,

> These names are the object keys. The name for a key is a sequence of > Unicode characters whose UTF-8 encoding is at most 1024 bytes long.

The max filename length is 1024 characters. If the characters in the name require more than one byte in UTF-8 representation, the number of available characters is reduced.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionoheView Question on Stackoverflow
Solution 1 - Amazon S3S3 Browser TeamView Answer on Stackoverflow