Rewrite of typo/amazon-s3-php-class