Create PHP toolkit with some Amazon S3 functionality: versioning enable/disable and edit metadata
$95-100 USD
Cerrado
Publicado hace casi 14 años
$95-100 USD
Pagado a la entrega
I have several thousand objects on Amazon S3, with simple systematic names like:
bucketname/[login to view URL]
bucketname/[login to view URL]
bucketname/[login to view URL]
bucketname/[login to view URL]
etc...
I need the following functionality in PHP:
1. Enable S3 bucket versioning
2. Suspend bucket versioning
3. Unsuspend bucket versioning (I'm assuming this is possible)
4. Set a custom header for the existing object
I'm not sure how 4. can best be done, but the tools bucketexplorer and s3browser both implement metadata modification for existing objects, so it is possible without uploading the original file again:
[login to view URL]
[login to view URL]
Please inform me if it is necessary to suspend versioning to do this, or if that is not necessary. Please let me know how you will implement this, and what experience you have with this functionality.
The PHP functions/methods implementing this code should have a synopsis something like this (or let's discuss alternatives if you have other input):
1. Enable versioning
function enable_versioning()
parameters: bucket name, access key, secret access key
return true on success, undef or throw exception on error
2. Suspend versioning
function suspend_versioning()
parameters: bucket name, access key, secret access key
return true on success, undef or throw exception on error
3. Unsuspend versioning
function unsuspend_versioning()
parameters: bucket name, access key, secret access key
return true on success, undef or throw exception on error
4. Add a custom HTTP header for a single existing bucket/object
function add_custom_header()
parameters: bucket name, object name, custom header key, custom header value, access key, secret access key
return true on success, undef or throw exception on error
It is important that editing headers on objects that are in a bucket with versioning enabled doesn't create a new version and use double space unless we know about this and can actively suspend versioning. Please communicate how to handle this.