isZipFile

Determines whether the given file is a zip archive or not

isZipFile(path) → returns boolean

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

path string
Required

Examples
Sample code invoking the isZipFile function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub