Lists the contents of a ZIP archive.
Takes a ZIP file path.
Returns a directory handle for iterating through contents, or 0 on failure (NULL zipFile, open error, or empty archive).
File IO
Parameters & Returns
Parameters
zipFileString
Returns
Int
Quick Summary
Lists the contents of a ZIP archive.
Takes a ZIP file path.
Returns a directory handle for iterating through contents, or 0 on failure (NULL zipFile, open error, or empty archive).
Technical Exegesis...
Opens a ZIP archive and returns a directory handle for iterating through its contents. The handle can be used with fileNextFile, fileMoreFiles, and fileCloseDir to browse the archive's file list. Returns a handle on success, or 0 on failure (NULL zipFile, open error, or empty archive).
Uses miniz library (mz_zip_reader). Reads file statistics for all entries and stores filenames in a DirHandle structure. Doesn't extract files - only lists them.
Opens a ZIP archive and returns a directory handle for iterating through its contents. The handle can be used with fileNextFile, fileMoreFiles, and fileCloseDir to browse the archive's file list. Returns a handle on success, or 0 on failure (NULL zipFile, open error, or empty archive).
Uses miniz library (mz_zip_reader). Reads file statistics for all entries and stores filenames in a DirHandle structure. Doesn't extract files - only lists them. Use with directory iteration functions (fileNextFile, fileMoreFiles, fileCloseDir). Useful for inspecting archives before extraction.