BlueDragon Blog
Here you'll find tips and information about making the most of BlueDragon, which offers several compelling implementation alternatives for your CFML applications. This blog was created originally by Charlie Arehart, who was New Atlanta CTO from 2003-2006.,He has since moved on to become an independent consultant but continues to answer comments raised in existing blog entries. BlueDragon continues, and you should look to the newer BlueDragon blog, from New Atlanta president, Vince Bonfanti, for more updated information.

BlueDragon Advantage - CFZIP

posted Wednesday, 22 December 2004
Continuing the list of BlueDragon advantages I started yesterday, the next is CFZIP.  If you're weary of having to rely on custom tags and com objects to do Zip file processing (especially if you had to buy them), fret no longer. BlueDragon 6.2 (the current beta) offers CFZIP and CFZIPParam. You can create, extract, or just list contents of a zip file. Examples include:

<cfzip action="list" zipfile="c:\somepath\somezip.zip" variable="x">
<cfdump var="#x#">

or

<cfzip action="extract" zipfile="c:\somepath\some.zip" destination="c:\somedir">

or

<cfzip action="create"  source="c:\somedir" zipfile="c:\somepath\somenew.zip">

You can also name the input files/paths on a nested CFZIPPARAM tag. There's also support to control recursion and compression level, as well as support for flattening the result of an extraction (not preserving the folder structure) and much more.

See the 6.2 Enhancements Guide, available online (also accessible via the beta downloads page link in the earlier entry).