Login

    Register

PROJECT CATEGORIES

 

Amazon S3 REST Wrapper
Project Home Blog Forums Known Issues External Project Link Contact Project

Author: Joe Danziger (All RIAForge projects by this author)
Last Updated: June 13, 2008 12:30 AM
Version: 1.5
Views: 11333
Downloads: 913
License: Apache License, Version 2

Description:

A CFC for managing all aspects of Amazon's Simple Storage Service, including file and directory (bucket) operations. Uses a REST interface to perform all operations. Meant to be integrated into existing applications.

The CFC has the following methods:
* init(accessKeyID, secretAccessKey) - initialize CFC (both parameters required).
* getBuckets() - List all buckets.
* putBucket(bucketName, acl, storageLocation) - create a new bucket (acl is optional and defaults to public-read, storageLocation is optional and defaults to non-EU. Use 'EU' for the European location contraint).
* getBucket(bucketName, prefix, marker, maxKeys) - get contents of a bucket (prefix
is optional and matches on the beginning of a key, marker is optional and results
start from there, maxKeys is optional and restricts the number of objects returned).
* deleteBucket(bucketName) - delete a bucket (bucket must be empty).
* putObject(bucketName, fileKey, contentType, HTTPtimeout) - puts an object into a
bucket (HTTPtimeout is in seconds).
* getObject(bucketName, fileKey, minutesValid) - get link to an object (minutesValid
is optional and defaults to 60).
* deleteObject(bucketName, fileKey) - delete an object from a bucket.

NOTE: You may also access your objects via:
http://bucketname.s3.amazonaws.com/name-of-the-object

Recent Blog Entries:

Issue Tracker:

ID ISSUE STATUS UPDATED
2 Feature Request: add metadata info to 'putObject' so you can add cache-control/expires info to S3 files Open 07/20/08 6:58 PM
1 getObject() Fixed 06/13/08 12:31 AM

View All Issues

To enter issues for this (or any other) project, you must be logged in.

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/amazons3.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/