不使用生产服务器直接上传到 s3
我们正在创建一个媒体驱动的网站,要求我们的用户通过互联网提交非常大的广播级视频文件.我们希望通过消除使用我们的生产服务器(网站所在的位置),并仅在用户和 s3 帐户之间建立连接来消除带宽问题.
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.
为了让事情变得更有趣,我们的托管服务只允许通过 PHP 上传 50MB...
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?
进度条也很棒.
推荐答案
最简单的方法是使用 S3 POST 上传 API. 如果你需要一个进度条,你可以做在 HTML5 浏览器上很容易;如果您需要支持旧版浏览器,则可能需要 Flash 上传器.
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.
相关文章