aws / aws-sdk-php-zf2

ZF2 module for using the AWS SDK for PHP to interact with AWS services like S3, DynamoDB, SQS, EC2, etc.
http://aws.amazon.com/sdkforphp/
Apache License 2.0
103 stars 63 forks source link

ACL Object from S3RenameUpload #19

Closed vinyvicente closed 9 years ago

vinyvicente commented 10 years ago

Hello,

I'm using Filter S3RenameUpload to send my files in my server AWS S3. Sent correctly, but, don't know how to set ACL as public-read, it's possible?

jeremeamia commented 10 years ago

It is not possible to do that with the S3RenameUpload object. You can use the S3Client::putObjectAcl method of the SDK to update the ACL afterwards. Otherwise, someone would need to update the S3RenameUpload code to add that feature.