Posting form data to Amazon S3 bucket


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:

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


Okay, I finally managed to get this done using this sample code library:

Leave a Reply