Amazon S3 Library for REST in C#

items>Amazon S3 Library for REST in C#
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

A library in C# for working with the Amazon S3 REST interface.


Submitted By: EricW@AWS
AWS Products Used: Amazon S3
Language(s): C#
License: New BSD
Created On: March 13, 2006 7:01 PM GMT
Last Updated: September 21, 2008 9:16 PM GMT

About This Sample

  • A library in C# for working with the Amazon S3 REST interface.
  • Part of a collection of interface libraries, each in a different language.
  • See the README file in the download for more information about the sample.

What's New?

  • 2007-12-03: Fix for broken URL encoding.
  • 2007-11-05: Updates to support EU, fixed resource leak.
  • 2007-05-18: Updates to support signed HTTP requests to virtual hosted buckets.
  • 2007-04-23: Updates to support binary uploads.
  • 2006-10-02: Updates for server access logging.
  • 2006-06-16: Updates to use the list delimiter; fix a character encoding issue; add a new S3Tests.cs file; add the status, x-amz-id-2, and x-amz-request-id to the response object; and other updates.


  • You must be signed up to use Amazon S3. You can sign up for Amazon S3 at
  • This sample was built using Visual Studio 2005, but works with the .NET Framework 1.1 and later.

Using the Sample

  • Open the S3Sample.csproj file in Visual Studio.


name resolution failure
i get this error when run sample. this error happen when check the bucket.
xhuyvn on February 13, 2008 8:06 AM GMT
Don't see performance boost on EU location
I tried upload of a 450k file to US and one to EU (US with a previous version built on an old version of this code) and I don't see a performance boost. Googled a bit and DNS has something to do with it at creation time of a bucket... Geert.
appelappel on January 5, 2008 4:25 PM GMT
Works great, but Response doesn't implement IDisposable
Be very careful when using this library. If you try to perform a LOT of operations you will quickly run out of Http connections. Here's my solution: 1) must implement IDisposable in order to Close the WebResponse on Dispose. 2) Client code must wrap all calls that return a Response with a "using" clause.
"erik_cassel" on July 5, 2007 9:48 PM GMT
We are temporarily not accepting new comments.
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.