file_zip (string source, string destination[, number compression_level]) ⇒ boolean
Zips a file or folder, source to a zip file, destination. Returns a boolean based on whether the file was zipped successfully or not. The optional compression_level parameter defines how to compress the file or directory.
Alternative function names: zip
First available: Version 1.13.10
Notes
There are three possible compression levels available to ZPE:
- 0 - best compression applied
- 1 - best speed applied
- anything else - no compression applied
If the compression_level parameter is not provided, no compression is applied.

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you.
Comments powered by BalfComment