Direct upload to s3 without the use of a production server

☆樱花仙子☆ 提交于 2019-12-03 15:03: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 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 progress bar would be terrific as well.


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/6712733/direct-upload-to-s3-without-the-use-of-a-production-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!