StatusList()
|
Previous Top Next |
:StatusList()
|
None.
|
This method returns a copy of the :aFStatus instance variable, which is an Array that contains the Error/Status Codes for all current Central Directory Record objects of the Zip File.
|
Retrieves a copy of (and if necessary updates) the Array of Error/Status Codes of each current Central Directory Record object of an open Zip File, which are internally stored in the (protected) :aFStatus instance variable. The returned Array contains a numeric Error/Status Code for each (File) Entry, as described in the :TestEntry() documentation.
|
Open an existing Zip File named "MyArchive.zip" in Test mode and read its updated Status List into an array. Then list the Error/Status Code of all (File) Entries of the Zip File as a binary string, and close the Zip File:
|
oZip := XbZLibZip():New('MyArchive.zip', XBZ_OPEN_TEST)
|
AEval(oZip:StatusList(), {|nCode| QOut(XbZ_Num2Binary(nCode, 12))})
|
oZip:Close()
|