You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using createZipFileAtPath:savePath withFilesAtPaths:arrey, if there is a file and a folder in the array, the compression can be successful, but when decompressed, the folder becomes a 0-byte file and the folder cannot be opened.
#706
Open
zhoudongliang opened this issue
May 22, 2024
· 0 comments
Use createZipFileAtPath:savePath withFilesAtPaths:arrey
Store a compressed file and a folder in the array
Compression successful
After decompression, I found that the folder could not be opened.
Expected behavior
When using createZipFileAtPath:savePath withFilesAtPaths:arrey, if there is a file and a folder in the array, the compression can be successful, but when decompressed, the folder becomes a 0-byte file and the folder cannot be opened.
When compressing a file and a folder at the same time, you can enable them to be successfully decompressed, I mean the folder inside.
Actual behavior
When using createZipFileAtPath:savePath withFilesAtPaths:arrey, if there is a file and a folder in the array, the compression can be successful, but when decompressed, the folder becomes a 0-byte file and the folder cannot be opened.
Version of ZipArchive
2.5.0+
Environmental information
macos 14.5
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behavior
When using createZipFileAtPath:savePath withFilesAtPaths:arrey, if there is a file and a folder in the array, the compression can be successful, but when decompressed, the folder becomes a 0-byte file and the folder cannot be opened.
When compressing a file and a folder at the same time, you can enable them to be successfully decompressed, I mean the folder inside.
Actual behavior
When using createZipFileAtPath:savePath withFilesAtPaths:arrey, if there is a file and a folder in the array, the compression can be successful, but when decompressed, the folder becomes a 0-byte file and the folder cannot be opened.
Version of ZipArchive
2.5.0+
Environmental information
macos 14.5
The text was updated successfully, but these errors were encountered: