Posting form data to Amazon S3 bucket

Question:

I’ve spent three days now trying to set up a simple posting form to amazon s3.
Everytime I get this error:

SignatureDoesNotMatchThe request signature we calculated does not
match the signature you provided. Check your key and signing method.

I don’t see the problem. 🙁

I substituted the bucket name as well as the private and public keys above.

I followed the instruction to sign the policy meticulously:
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/dev/HTTPPOSTForms.html#HTTPPOSTConstructPolicy

What am I missing? Why is the code not working?

Answer:

Okay, I finally managed to get this done using this sample code library:
http://aws.amazon.com/code/Amazon-S3/1618

Leave a Reply