I may be blind, but I cannot find in the S3 documentation the maximum length of the file name that can be loaded into S3.
As the Amazon documentation suggests,
These names are object keys. The key name is a sequence of Unicode characters whose UTF-8 encoding has a length of no more than 1024 bytes.
The maximum file name length is 1024 characters.