There is [an old bug]( https://github.com/tpyo/amazon-s3-php-class/pull/175) in the S3 codebase. The fix has already made. Unfortunately the original repository is "dead" and I am facing with this issue. Could you merge these changes into this fork please?