hi all,

i've written a small .cfc for cold fusion mx that zips and unzips files.  there is 
nothing to install on the server, just place the zip.cfc in your directory or tag path 
and make calls to it in your cfml code.  

it has been written making calls to the native java api within cold fusion, so if you 
are interested in getting into this sort of thing, you might want to check out the 
code behind the scenes.

its free and open source, so feel free to modify and improve where you see fit.  if 
you do make any improvements then please let me know and i will include it and give 
you credit.  

its on my personal site at http://www.webclarity.com - just click the massive zipper 
graphic on the front page, or go developers --> zip component.

there is also a live demo on the site where you can test the zipping speed and options 
for yourself.  pretty cool.

enjoy.   =)

if you have any questions or comments, i'd love to hear em!

Nate Nielsen
[EMAIL PROTECTED]


p.s. here is a current feature list  :

* ability to set the compression level 
* add as many files to a zip you want 
* specify a different name to store a file inside zip (i.e. you can store 123.txt as 
abc.txt in zip) 
* specify and create directory structure inside the zip file 
* when extracting zip, creates any directories specified in zip file automatically 
* specify extraction path 
* all java api calls, nothing to install on server 
* all file opperations done in java, no <cffile> or <cfdirectory> needed 
* extremely fast! (I bet you'll be suprised) 
* very easy to implement, only a few lines! 
* CFMX compatible ONLY (it is a CFC after all) 
* 100% free / open source

----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to