-
-
Notifications
You must be signed in to change notification settings - Fork 3
PKZip.ZipReader.RepairZip
Andrew Lambert edited this page Nov 26, 2022
·
6 revisions
Protected Shared Function RepairZip(ZipFile As FolderItem, RecoveryFile As FolderItem, Optional LogFile As FolderItem) As Boolean
Name | Type | Comment |
---|---|---|
ZipFile | FolderItem | The zip archive to repair. |
RecoveryFile | FolderItem | A file or directory to save recovered files in. |
LogFile | FolderItem | Optional. A file to write a recovery log to. |
Returns True
if the operation was successful.
This method extracts the ZipFile
using less-efficient and/or more resilient and forgiving techniques. If the RecoveryFile
is a directory then the archive is extracted to that directory. Otherwise the archive is extracted to a temporary folder and then re-zipped into a new archive.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.