Re: howto create a zip programmatically
From: Tom Stewart (tastewar_at_newsgroups.nospam)
Date: 05/28/04
- Next message: Mickey Lane: "Re: sources/Build.exe alternate source file location question"
- Previous message: Spiro Trikaliotis: "Re: sources/Build.exe alternate source file location question"
- In reply to: Paweł Pawlak: "Re: howto create a zip programmatically"
- Next in thread: Stefan Kuhr: "Re: howto create a zip programmatically"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 08:44:04 -0400
Thanks -- I did end up there after gzip.
-- Tom "Paweł Pawlak" <morr!s@elys!um.pl> wrote in message news:c96nj0$3vq$1@helios.domdata.com... > > >>>It's just that i'm not aware if gzip is compatible with WinZip, or if > > > > gzip > > > >>>files are the same as Zip files. > >>>zlib can create standard gzip files, so, if gzip files are compatible > > > > with > > > >>>WinZip then so will be the files created with zlib. > >>> > >>>What library did you used? > >> > >>I used the ZLIB library. It's available from > >> http://www.gzip.org/zlib/ > >> > >>But be aware that it's just a compression scheme. It doesn't create > >>archives that contain multiple files, you'll have to do that somehow > >>yourself. But a single ZLIB-created file was perfectly readable by WinZip > >>and vice versa. > >> > >> Norm > > > > > > To use the ZLIB library to create PKZIP compatible archives, you will > > need the ZIP header format from PKWARE's web site at > > http://www.pkzip.com/products/enterprise/white_papers/appnote.html > > > > With the ZIP header information and ZLIB source code you should be able > > to develop a compression/decompression library. I have created such a > > library > > for my employer that is compatible with PKZIP and WinZIP. Unfortunatly I can > > not send you the source code due to company policies, but I can help if > > needed. > > As an alternative you may use a dynamic link library, that is able to > create ZIP archives. Have a look at http://www.info-zip.org/ > > Pawel
- Next message: Mickey Lane: "Re: sources/Build.exe alternate source file location question"
- Previous message: Spiro Trikaliotis: "Re: sources/Build.exe alternate source file location question"
- In reply to: Paweł Pawlak: "Re: howto create a zip programmatically"
- Next in thread: Stefan Kuhr: "Re: howto create a zip programmatically"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|