开发者

Direct upload to s3 without the use of a production server

开发者 https://www.devze.com 2023-03-21 02:38 出处:网络
We are creating a media driven website that requires our users to submit very large broadcast quality video files over the internet.We want to cut bandwidth issues out by eliminating the use of our pr

We are creating a media driven website that requires our users to submit very large broadcast quality video files over the internet. We want to cut bandwidth issues out by eliminating the use of our production server (where the website is), and just creating a connection between the user and a s3 account.

To make matters even more fun, our hosting service only allows 50MB an upload through PHP...

I've looked all over the internet for a feasible solution, can anybody help?

A pr开发者_如何转开发ogress bar would be terrific as well.


The simplest way to do this is with the S3 POST upload API. If you need a progress bar, you can do that easily on HTML5 browsers; if you need to support older browsers you may need a flash uploader.


You'd have to somehow provide your S3 credentials to your users, then, which I doubt you'd want to do. It'd be the only way to have the users direct upload to S3 without involving your server.

0

精彩评论

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

关注公众号