I am developing a website in HTML, javascript & jQuery. I want to upload (multiple images) to amazon s3 server in an ajax request. There is no such SDK to integrate s3 in Javascript. A PHP SDK is available, but it is not useful to me. Can anybody provide solution to this in javascript?
Asked
Active
Viewed 1,761 times
1 Answers
1
You can read the article - How to Upload Scanned Images to Amazon S3 Using Dynamic Web TWAIN, which introduces how to use PHP and JavaScript to upload files to Amazon S3. Key steps include:
- Specify the bucket which is the place or the folder name used for storing data on Amazon S3
- Specify the Access Key and Secret Key you obtained from your Amazon S3 account
- Create a policy that specifies what you permit and what you don’t permit for the data uploaded from a client web page
- Encode and encrypt these policies and signatures to keep them confidential, and store the encoded and encrypted values in the hidden input elements.

yushulx
- 11,695
- 8
- 37
- 64