<legend id='sf3cr'><style id='sf3cr'><dir id='sf3cr'><q id='sf3cr'></q></dir></style></legend>
  1. <small id='sf3cr'></small><noframes id='sf3cr'>

    1. <tfoot id='sf3cr'></tfoot>
      • <bdo id='sf3cr'></bdo><ul id='sf3cr'></ul>

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

    2. 在一个 HTTP 请求中下载多个文件

      时间:2023-08-20
    3. <i id='JQ7gE'><tr id='JQ7gE'><dt id='JQ7gE'><q id='JQ7gE'><span id='JQ7gE'><b id='JQ7gE'><form id='JQ7gE'><ins id='JQ7gE'></ins><ul id='JQ7gE'></ul><sub id='JQ7gE'></sub></form><legend id='JQ7gE'></legend><bdo id='JQ7gE'><pre id='JQ7gE'><center id='JQ7gE'></center></pre></bdo></b><th id='JQ7gE'></th></span></q></dt></tr></i><div id='JQ7gE'><tfoot id='JQ7gE'></tfoot><dl id='JQ7gE'><fieldset id='JQ7gE'></fieldset></dl></div>

      <tfoot id='JQ7gE'></tfoot>
          <tbody id='JQ7gE'></tbody>

          <bdo id='JQ7gE'></bdo><ul id='JQ7gE'></ul>

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

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

              1. 本文介绍了在一个 HTTP 请求中下载多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                如何在一个 HTTP 请求中下载多个文件?我的意思是,当您有多个附件并且您选择要下载的内容然后按下载时,它们将被自动下载,而您不必手动单击每个附件.

                how is it possible to download multiple files in one HTTP request? what i mean it's like when you have multiple attachments and you select what you want to download then press download so they will be automaticcaly downloaded and you don't have to click on each one manually.

                我使用 PHP 作为服务器端 srcipting.

                i'm using PHP as a serverside srcipting.

                推荐答案

                可以发送HTTP 中的多部分响应:

                通常,HTTP 将多部分消息体视为与任何其他媒体类型没有什么不同:严格视为有效负载.[…] HTTP 用户代理应该遵循与 MIME 用户代理在收到多部分类型时相同或相似的行为.

                In general, HTTP treats a multipart message-body no differently than any other media type: strictly as payload. […] an HTTP user agent SHOULD follow the same or similar behavior as a MIME user agent would upon receipt of a multipart type.

                […] 如果应用程序接收到无法识别的多部分子类型,应用程序必须将其视为等同于多部分/混合".

                […] If an application receives an unrecognized multipart subtype, the application MUST treat it as being equivalent to "multipart/mixed".

                但由于 Firefox 是我所知道的唯一支持这种多部分响应的浏览器(除了multipart/byterange),为此您应该使用一些存档文件格式.

                But since Firefox is the only browser that I know about to support such multipart responses (apart from multipart/byterange), you should use some archive file format for this purpose.

                这篇关于在一个 HTTP 请求中下载多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:使用 php 下载文件,而不是处理大文件? 下一篇:下载 .zip 文件运行损坏的文件 php

                相关文章

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

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

                    <tfoot id='ob2fP'></tfoot>