Issues

ZF-10124: Adding Copy Object functionality to the S3

Issue Type: Patch Created: 2010-07-09T00:30:04.000+0000 Last Updated: 2010-10-26T00:44:18.000+0000 Status: Resolved Fix version(s): Reporter: Heshan Wanigasooriya (heshanmw) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Service_Amazon

Related issues: - ZF-8646

Attachments: - s3.php.diff

Description

This implementation of the PUT operation creates a copy of an object that is already stored in Amazon S3. A PUT copy operation is the same as performing a GET and then a PUT. Adding the request header, x-amz-copy-source, makes the PUT operation copy the source object into the destination bucket.

When copying an object, you can preserve most of the metadata (default) or specify new metadata. However, the ACL is not preserved and is set to private for the user making the request. To override the default ACL setting, use the x-amz-acl header to specify a new ACL when generating a copy request.

Refs : http://docs.amazonwebservices.com/AmazonS3/…

Comments

Posted by Heshan Wanigasooriya (heshanmw) on 2010-07-09T00:34:03.000+0000

Attached the fixed for this.

Posted by Martin Rio (axolx) on 2010-08-11T16:38:38.000+0000

This works well for me. Would be nice to get it in the trunk. Anything we can go to help that?

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts