If you are running CFMX you can take advantage of the java.io class and run= the following function. If you are running a earlier version of CF you wil= l probably need to get a copy of a CFX tag such as by Ben Forta.
function zip(zipPath,toZip){ //make a fileOutputStream object to put the ZipOutputStream into ...
For quick zip operations on a Windows machine, I use a simple utility called FBZip (http://www.freebyte.com/fbzip/). It is freeware and has a command line interface that works great with CFEXECUTE.
If you are on a non Windows environment or do not have CFEXECUTE enable on your server, then Todd's JAVA code is the ticket.
------=_NextPart_000_026B_01C3D631.73210030 Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
If you are running CFMX you can take advantage of the java.io class and run=
the following function. If you are running a earlier version of CF you wil=
l probably need to get a copy of a CFX tag such as by Ben Forta.
function zip(zipPath,toZip){
//make a fileOutputStream object to put the ZipOutputStream into
...