Zip.file readonly property
Get the File object representing the current opened ZIP archive.
Example
-- prints the total number of entries from a zip archive
local compresion = require "compression"
-- check parameters : the archive specified as argument
local archive = arg[1] or error("no archive specified")
-- open the archive
local z = compression.Zip(archive)
-- prints ZIP archive properties
print("Archive fullpath\t: "..z.file.fullpath)
print("Archive size\t: "..z.file.size)