Link to home
Start Free TrialLog in
Avatar of brandonpowell
brandonpowell

asked on

Creating a winzip file using ColdFusion code

How can I create a winzip file using coldfusion code? Can this be done, or do I need to
use a diffrent scripting language for this like Visual Basic?
Avatar of shooksm
shooksm

There are several ways varying in expense and difficulty.  The easiest but obviously more expensive is to buy a component like:

https://www.xceedsoft.com/products/ZipCompL/index.htm

And use the component in your Cold Fusion code.

A cheaper solution is to install Winzip on your server with the command line support and use the CFEXECUTE tag to create the zip.  Then you can use the CFCONTENT tag to send the zip through the browser.

I am not certain but I think PHP has native support for zipping files that you may want to look into.
yes even i have used XCEEDZip.DLL to zip my folders & files on server

just call the DLL & it wld do the rest for u :)
I have written a Custom tag in Java for this. Search for CFX_JZIP on Macromedia Exchange. That can be helpful also.
ASKER CERTIFIED SOLUTION
Avatar of jyokum
jyokum
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brandonpowell

ASKER

Thanks! I really appreciate all the help. Sorry it took me so long to
respond, but I have been moving the last few days. Just got my
Internet connected today.

Sincerely,
Brandon Powell