 |
About This SampleThis sample application implements several high-level features, while simultaneously showing how to leverage an Amazon S3 helper class that handles background tasks such as creating and using signatures: - Amazon S3 buckets are enumerated in a Windows-like interface.
- Full support for drag and drop: both into and out of the application.
- Metadata about an object is stored in Amazon S3 when you add files.
- There is a simple viewer to render .jpg and plain text files, based on the content-type stored in the object's metdata. Only these two MIME types are rendered.
- You can create and delete buckets from the application.
- You can delete objects from the application.
You cannot do any of the following in this particular sample: - Treat common prefixes as a “directory”.
- Set access permissions on objects (public vs. private). All objects are uploaded using the default private ACL.
Prerequisites - You must have an Amazon Web Services account (http://aws.amazon.com).
- You must have signed up to use Amazon S3 (http://aws.amazon.com/s3).
- This sample was created using Microsoft Visual Studio Professional 2005, but also works with Microsoft Visual C# 2005 Express Edition.
Running The Sample - Download and extract the .zip file contents.
- Open S3BucketBrowser.sln in Visual Studio.
- Enter your access identifiers:
- Open Settings.settings and enter your access identifiers in Visual Studio.
-OR- - Compile and run the application. You can enter your access identifiers using the application's File -> Options menu
License
This sample is provided under a BSD-style license:
This software code is made available "AS IS" without warranties of any
kind. You may copy, display, modify and redistribute the software
code either by itself or as incorporated into your code; provided that
you do not remove any proprietary notices. Your use of this software
code is at your own risk and you waive any claim against Amazon
Web Services LLC or its affiliates with respect to your use of
this software code. (c) Amazon Web Services LLC or its
affiliates.
|