Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解压的时候提示? #64

Open
529834149 opened this issue Sep 11, 2020 · 5 comments
Open

解压的时候提示? #64

529834149 opened this issue Sep 11, 2020 · 5 comments

Comments

@529834149
Copy link

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();

@Ne-Lexa
Copy link
Owner

Ne-Lexa commented Sep 11, 2020

Please describe the problem in English.

@529834149
Copy link
Author

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

@Ne-Lexa
Copy link
Owner

Ne-Lexa commented Sep 11, 2020

Please attach the damaged file for analysis.

@529834149
Copy link
Author

data_1600047637.zip
这个密码run1234!@#

@Ne-Lexa
Copy link
Owner

Ne-Lexa commented Sep 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants