ZIP Archive List

Overview

This Lingo script will read the directory contents of a .ZIP archive including file names, folder paths, file sizes, file dates and times.

Quick Links

Requirements

This code uses the BinaryIO Xtra to directly read the directory structure of a common ZIP file. The resulting list of files contained within the ZIP file is returned as a list of property lists (with one property list per entry inside the ZIP file).

The ZIP file format was found on Wotsit's Format.

I consider this script a work in progress. Additional functionality can easily be added, and there may be some platform-specific issues to be resolved (this was written and tested on a Windows-platform machine). Please feel free to offer suggestions. If you make any enhancements to this script, I would appreciate hearing about them.