• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: APIs to work with zip archives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: APIs to work with zip archives


  • Subject: Re: APIs to work with zip archives
  • From: Michael Hall <email@hidden>
  • Date: Fri, 12 Aug 2005 15:32:12 -0500


On Aug 12, 2005, at 2:57 PM, Will Mason wrote:

I am interested in writing an application which uses zip archives.


Apple includes libgzip in OS X. You can use the gzip API in a Cocoa

app, just like you would in any C app.


Isn't that libz? I've never heard of libgzip, and there isn't one on my


Mine either that I can find. There is...
man zlib

It can do the lower-level
compression, and it can read and write GZIP files, but it doesn't do
ZIP.

Also in the zip.h included in the zlib folder I have with some gcc source from sometime there is
<quote>
/* zip.h -- IO for compress .zip files using zlib
Version 0.15 alpha, Mar 19th, 1998,


   Copyright (C) 1998 Gilles Vollant

This unzip package allow creates .ZIP file, compatible with PKZip 2.04g
WinZip, InfoZip tools and compatible.
Encryption and multi volume ZipFile (span) are not supported.
Old compressions used by old PKZip 1.x are not supported
</quote>


Suggests some file format handling. Although searching on PK for the PK## headers didn't immediately make it clear to me where this support is.

Mike Hall        email@hidden
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: APIs to work with zip archives (From: Will Mason <email@hidden>)

  • Prev by Date: Re: APIs to work with zip archives
  • Next by Date: Re: APIs to work with zip archives
  • Previous by thread: Re: APIs to work with zip archives
  • Next by thread: Re: APIs to work with zip archives
  • Index(es):
    • Date
    • Thread