views:

103

answers:

1

Is it possible to upload to Amazon Cloudfront using Javascript preferably with the use of (Google) Gears for uploading chunks?

I'm building a CMS for images and video data and want to integrate Cloudfront as a storage backend. To avoid first uploading to Google Appengine (which is where my system is hosted) and then from there upload the files to Cloudfront I'd want a solution that could be implemented in Javascript (doing the upload to the Cloudfront server).

+1  A: 

Yes, It is possible. You can use swfupload for the same. There is a nice article about to use swfupload for uploading files directly to Amazon S3 buckets. Hope it helps.

bhups
Thanks mate. Gonna read up on this. I was actually thinking about looking for a Flash solution if the Javascript didn't work.
Johan Carlsson