public
Last active

ZF: Zend_Uri_S3

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
S3 URI Scheme:
 
# Access a private file
s3://{access_key}:{secret_key}@{bucket}/{filename}
 
# Access a public-read or public-read-write file
s3://{bucket}/{filename}
 
Notes:
- Zend_Uri_S3 will accept or build a URI as specified above.
- Filename consists of a path and file.extension (path/file.ext)
- Zend_Uri_S3 will have a method to translate the S3 URI scheme to the accepted S3 HTTP scheme (http://docs.amazonwebservices.com/AmazonS3/latest/index.html?RequestEndpoints.html)
- This component could also be used in the S3 services classes when making requests.
 
Links:
- http://blogs.hoopoe-cloud.com/index.php/2009/10/regular-expression-for-amazon-s3-url/
- http://docs.amazonwebservices.com/AmazonS3/latest/index.html?BucketRestrictions.html
- http://manpages.ubuntu.com/manpages/karmic/en/man1/s3cmd.1.html

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.