-
-
Notifications
You must be signed in to change notification settings - Fork 4
PKZip.RepairZip
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
PKZip.RepairZip
Protected 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 will attempt to recover the uncorrupted portion(s) of a damaged archive. 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 RecoveryFile.
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.