Re: howto create a zip programmatically

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Norm Dresner (ndrez_at_att.net)
Date: 05/26/04


Date: Wed, 26 May 2004 17:16:51 GMT


"Alex" <AlX@a> wrote in message
news:OImifA0QEHA.3660@TK2MSFTNGP10.phx.gbl...
>
> 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



Relevant Pages

  • Re: howto create a zip programmatically
    ... >>>>It's just that i'm not aware if gzip is compatible with WinZip, ... >>>>WinZip then so will be the files created with zlib. ... >> To use the ZLIB library to create PKZIP compatible archives, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: howto create a zip programmatically
    ... "Norm Dresner" wrote in message ... >> It's just that i'm not aware if gzip is compatible with WinZip, ... >> WinZip then so will be the files created with zlib. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: mainframe zip
    ... Try gzip. ... But will WinZip handle a tar.Z or a pax.Z? ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: howto create a zip programmatically
    ... It's just that i'm not aware if gzip is compatible with WinZip, ... zlib can create standard gzip files, so, if gzip files are compatible with ... WinZip then so will be the files created with zlib. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: More adventures in game crunching...
    ... gzip itself opens it no problem... ... Results with various archivers on the gzip files: ... Winzip: "Invalid Archive Directory" ...
    (comp.sys.apple2)