不使用生产服务器直接上传到 s3 [英] Direct upload to s3 without the use of a production server

查看:31
本文介绍了不使用生产服务器直接上传到 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.

这篇关于不使用生产服务器直接上传到 s3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆