Contents - Index - Previous - Next
FixZip method
Applies to
TVCLZip component
Declaration
function FixZip(InputFile, OutputFile: string): Integer;
Description
The FixZip method will attempt to read a zip file that has been truncated and save a complete zip file. This will save as many compressed files as is possible.
Also, the integrity of each file is tested using the FileIsOK Property, and any files that return False for this property will not be included in the Fixed archive.
Return Value
The return value is the number of compressed file entries in the resulting "fixed" file.