Click to See Complete Forum and Search --> : Compressing files?


toddm123
April 6th, 2005, 04:27 PM
Hi All,

Does anyone have any info on how to compress a file so that its a true .zip file? I tried just renaming the file using code but that didn't work. D'OH! :)

I basically have a .txt file I output my data too and then I want to get it in .zip compressed format.

Is there a zip library somewhere maybe?

Any ideas?

Any help or info would be outstanding.

Thanks,
Todd

Krzemo
April 6th, 2005, 04:53 PM
.NET interface:
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx

for c++ interface:
http://www.sharma-home.net/people/adsharma/projects/ziplib/

Best regards,
Krzemo.