I mean it doesn’t seem to me that the function doesnt filters the files to put in the zip.
Maybe I didn’t quite understand how the “filter” attribute works.
@Roberto_Marzialetti I’ve checked this issue using the above code with lucee versions 5.3.9.133 ,5.3.10.101-SNAPSHOT and compress version 1.0.0.13-SNAPSHOT. When using cfzip tag with filter to “return false” it throw an error like “cannot create an empty zip file” and set cfzip Filter to “return true”, it created a zip file succesfully.
Can you please share your installed compress version?
@Roberto_Marzialetti To see which Compress Tags extension version you have installed, use server Admin (Extension-Application) page or the extensionList() function.