php-zip icon indicating copy to clipboard operation
php-zip copied to clipboard

解压的时候提示?

Open 529834149 opened this issue 5 years ago • 5 comments

Description

Example

image

//压缩文件夹 $this->zipfile->addDirRecursive($beforepath); // save the archive to a file $this->zipfile->withNewPassword('run1234!@#'); $this->zipfile->saveAsFile($zippath.'/'.$zipname); $this->zipfile->close();

529834149 avatar Sep 11 '20 10:09 529834149

Please describe the problem in English.

Ne-Lexa avatar Sep 11 '20 12:09 Ne-Lexa

Using the expansion pack for encryption and compression is normal, but when decompressing, sometimes prompt file damage, do not know if anyone has met, ask for advice

529834149 avatar Sep 11 '20 12:09 529834149

Please attach the damaged file for analysis.

Ne-Lexa avatar Sep 11 '20 12:09 Ne-Lexa

data_1600047637.zip 这个密码run1234!@#

529834149 avatar Sep 14 '20 01:09 529834149

Is this file generated with php-zip library? You must use a slash (/) as a folder separator, not a backslash ().

Ne-Lexa avatar Sep 14 '20 07:09 Ne-Lexa