• 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: Cocoa unzip?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa unzip?


  • Subject: Re: Cocoa unzip?
  • From: Owen Anderson <email@hidden>
  • Date: Sun, 25 Aug 2002 10:36:01 -0400

There are several ways to do this:

a) Use zlib, the library which defines zip files. It's not too complicated, and definitely the best solution. (www.zlib.org)

b) You can also use an NSTask to run the command line utility 'unzip'. This is probably your best solution if it's a one time thing, but it will slow you down a bit. (/usr/bin/unzip)

c) I'd imagine that the StuffIt Engine can unzip files, but I do not know anything about it's API, or any requirements placed on it's use by Aladdin. I'd suggest searching their site.
(www.aladdinsys.com)


There may be other methods, but those are the ones I can think of. Good luck!

Owen Anderson

On Sunday, August 25, 2002, at 10:14 AM, Keith Renz wrote:

Quick question. My app needs to unzip a bunch of zip files. Is there a Unix
utility which I can call or can I send an Apple Event to the StuffIt Engine
which comes with OS X? If so, how do I proceed? The zip format is an older
one, method 8 - implode/explode, I think. I do not need to zip, just unzip.

Thanks,

Keith
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Cocoa unzip?
  • Next by Date: Re: NSTableView issues?
  • Previous by thread: Cocoa unzip?
  • Next by thread: ANN: FackBore Effects souce example
  • Index(es):
    • Date
    • Thread