<i id='8TFjc'><tr id='8TFjc'><dt id='8TFjc'><q id='8TFjc'><span id='8TFjc'><b id='8TFjc'><form id='8TFjc'><ins id='8TFjc'></ins><ul id='8TFjc'></ul><sub id='8TFjc'></sub></form><legend id='8TFjc'></legend><bdo id='8TFjc'><pre id='8TFjc'><center id='8TFjc'></center></pre></bdo></b><th id='8TFjc'></th></span></q></dt></tr></i><div id='8TFjc'><tfoot id='8TFjc'></tfoot><dl id='8TFjc'><fieldset id='8TFjc'></fieldset></dl></div>

  • <legend id='8TFjc'><style id='8TFjc'><dir id='8TFjc'><q id='8TFjc'></q></dir></style></legend>

    <small id='8TFjc'></small><noframes id='8TFjc'>

      • <bdo id='8TFjc'></bdo><ul id='8TFjc'></ul>
      <tfoot id='8TFjc'></tfoot>

      1. HTTP 与 FTP 上传

        时间:2023-05-30

            <small id='TSuGt'></small><noframes id='TSuGt'>

            <legend id='TSuGt'><style id='TSuGt'><dir id='TSuGt'><q id='TSuGt'></q></dir></style></legend>

            <tfoot id='TSuGt'></tfoot>
            • <bdo id='TSuGt'></bdo><ul id='TSuGt'></ul>
                  <tbody id='TSuGt'></tbody>
                1. <i id='TSuGt'><tr id='TSuGt'><dt id='TSuGt'><q id='TSuGt'><span id='TSuGt'><b id='TSuGt'><form id='TSuGt'><ins id='TSuGt'></ins><ul id='TSuGt'></ul><sub id='TSuGt'></sub></form><legend id='TSuGt'></legend><bdo id='TSuGt'><pre id='TSuGt'><center id='TSuGt'></center></pre></bdo></b><th id='TSuGt'></th></span></q></dt></tr></i><div id='TSuGt'><tfoot id='TSuGt'></tfoot><dl id='TSuGt'><fieldset id='TSuGt'></fieldset></dl></div>
                  本文介绍了HTTP 与 FTP 上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在建立一个大型网站,允许会员上传最大 20MB 的内容(图片、视频)(可能比 15MB 小一点,我们还没有确定最终的上传限制,但会大约在 10-25MB 之间).

                  I am building a large website where members will be allowed to upload content (images, videos) up to 20MB of size (maybe a little less like 15MB, we haven't settled on a final upload limit yet but it will be somewhere between 10-25MB).

                  我的问题是,在这种情况下,我应该使用 HTTP 还是 FTP 上传.请记住,80-90% 的上传将是较小的尺寸,例如 cca 1-3MB,但有时某些成员也会想要上传大文件(10MB 以上).

                  My question is, should I go with HTTP or FTP upload in this case. Bear in mind that 80-90% of uploads will be smaller size like cca 1-3MB but from time to time some members will also want to upload large files (10MB+).

                  对于如此大的文件,HTTP 上传是否足够可靠,还是我应该使用 FTP?上传文件时,HTTP 和 FTP 之间是否存在明显的速度差异?

                  Is HTTP uploading reliable enough for such large files or should I go with FTP? Is there a noticeable speed difference between HTTP and FTP while uploading files?

                  我之所以这么问是因为我使用的是 Zend Framework,它已经有用于文件上传的 HTTP 适配器,如果我选择 FTP,我将不得不为它编写自己的适配器.

                  I am asking because I'm using Zend Framework which already has HTTP adapter for file uploads, in case I choose FTP I would have to write my own adapter for it.

                  谢谢!

                  推荐答案

                  HTTP 无疑给您的客户减轻了负担.许多地方都有阻止所有 FTP 流量(传入或传出)的代理或防火墙.

                  HTTP definitely puts less of a burden on your clients. A lot of places have proxies or firewalls that block all FTP traffic (in or out).

                  这篇关于HTTP 与 FTP 上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:一次运行多个 exec 命令(但要等待最后一个完成) 下一篇:从 Zend Framework 应用程序向数百个收件人发送电子邮件的最佳方法是什么?

                  相关文章

                  <small id='XxCem'></small><noframes id='XxCem'>

                    <legend id='XxCem'><style id='XxCem'><dir id='XxCem'><q id='XxCem'></q></dir></style></legend>

                      <i id='XxCem'><tr id='XxCem'><dt id='XxCem'><q id='XxCem'><span id='XxCem'><b id='XxCem'><form id='XxCem'><ins id='XxCem'></ins><ul id='XxCem'></ul><sub id='XxCem'></sub></form><legend id='XxCem'></legend><bdo id='XxCem'><pre id='XxCem'><center id='XxCem'></center></pre></bdo></b><th id='XxCem'></th></span></q></dt></tr></i><div id='XxCem'><tfoot id='XxCem'></tfoot><dl id='XxCem'><fieldset id='XxCem'></fieldset></dl></div>
                        <bdo id='XxCem'></bdo><ul id='XxCem'></ul>
                    1. <tfoot id='XxCem'></tfoot>