Lucee Function Reference

extract()

extract data out of a compressed file

Example

extract(string format,string source,string target):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
format string  Yes Format to extract (bzip,gzip,tar,tbz (tar bzip),tgz (tar gzip) and zip)  
source string  Yes source file or directory with zip files to extract  
target string  Yes name of the target directory