php中的多部分zip [英] multi part zip in php
问题描述
当我创建一个 zip 文件时:
When I create a zip I:
- 右键单击该文件夹
- 我们可以看到添加到存档的选项
点击该选项
- right click on that folder
- we can see the option to add to archive
click on that option
在单击确定"之前 - 请参阅下面有一个用于拆分成卷的选项.选择任意大小,然后单击确定"将创建一个多部分 zip 文件.
before click on OK - see that below there is an option for splitting into volumes. Select any size and then click on OK and it will create a multipart zip file.
创建多部分 zip 文件后,我们可以提取其中的任何一个,它会提取整个内容并为我们提供包含所有数据的原始文件夹.
After the creation of the multipart zip file we can extract any one of them and it will exact the whole thing and give us the original folder with all the data.
我想用 php 代码执行此操作,但无法使其正常工作.请帮忙.
I want to do this with php code but can't get it to work. Please help.
推荐答案
我可能错了,但我认为使用 php 是不可能的.至少我在使用 ZipArchive 或 Zip 函数
I might be wrong, but I don't think it's possible using php. At least I never encountered this possibility using ZipArchive or Zip Functions
这篇关于php中的多部分zip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!