AngularJS and Ruby on Rails - Uploading multiple files directly to Amazon S3 -
i'm writing app users can write notes, , each note can have many files attached it.
i users able click 'browse', select multiple files, uploaded when user clicks 'save note'.
i want these files uploaded directly amazon s3 (or other cloud storage solution?) without going through server, don't have worry uploads blocking server.
what best way accomplish this? have seen many examples upload directly amazon s3, none of them support multiple files. somehow have in javascript looping through collection of files selected browse button?
thanks!
technically, javascript residing in browser make http restful calls aws , store data in s3, exposing security credentials connect aws in script.. not good.
i guess way process thru web-server can securely access aws , store notes.. or, write notes local disk (where webserver sits), , schedule tools s3cmd automatically synch them s3 buckets.
Comments
Post a Comment