ZIP (.zip) File Format - Maple Programming Help

Home : Support : Online Help : Programming : Input and Output : File Formats : Formats/ZIP

ZIP (.zip) File Format

ZIP file format

Description

 • ZIP is a file format for data compression, which is widely used for archiving files and as the basis for other container formats.
 • The FileTools[Compressed] package provides many tools for reading from and writing to archive files in this format.
 • The Import command can encode and decode data in this format, and the ArrayTools[Compress] and ArrayTools[Uncompress] commands also support it.

Notes

 • Content-Type: application/zip

Examples

View the contents of a compressed file.

 > $\mathrm{zipFile}≔\mathrm{FileTools}:-\mathrm{JoinPath}\left(\left["help","MapleTA","coursemodule.zip"\right],\mathrm{base}=\mathrm{datadir}\right)$
 ${"C:\Program Files\Maple 2016\help\MapleTA\coursemodule.zip"}$ (1)
 > $\mathrm{FileTools}:-\mathrm{Compressed}:-\mathrm{Contents}\left(\mathrm{zipFile}\right)$
 $\left[{"manifest.xml"}\right]$ (2)