开发者

How to upload files to cloud front of AWS

I am trying to integrate amazon cloud front to my website. I am new to it. Can an开发者_运维知识库y one suggest me the better way to upload the files to cloudfront using their api. The file size are about 50 mbs also i will need to get the final location of the file uploaded to save in database.


You can use the PHP S3 class http://undesigned.org.za/2007/10/22/amazon-s3-php-class to upload it in your S3 bucket (which is being used for your cloundfront).

Mind you, if it's an upload from the website, it will touch your server first and go to S3 afterwards. If you want to upload from your website directly to S3, use uploadify www.uploadify.com

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜