Re: Working with ZIP files
Re: Working with ZIP files
- Subject: Re: Working with ZIP files
- From: Dragan MiliÄ <email@hidden>
- Date: Mon, 22 Mar 2004 10:58:23 +0100
Hi Ruben and everybody else,
there isn't any way to zip or unzip multiple files or folders into/from
zip archives using plain libz (at least I haven't found it). I could
easily extract multiple files using default unzip application
(BOMArchiveHelper, or StuffIt Expander, or unzip ...) in combination
with NSTask, but what about reading archive content, changing it,
changing zipped files content and attributes without extracting them? I
need complete framework for dealing with zip archives. Fortunately,
something useful can be found at
http://www.winimage.com/zLibDll/unzip.html/. This layers on top of libz
and provides complete framework for work with zip archives. It's plain
C, but very easy to use and making OO wrapper around it is very simple
task.
Best regards,
Milke.
Dana 22. P<P0Q, 2004,u 8:54, Ruben Smits piE!e:
>
Hi Mike,
>
>
You are looking for an OOP way to implement unzipping. I think writing
>
extra code when functionality is available is not an example of OOP.
>
;-)
>
>
You can use libraries like libz in combination with NSTask. The
>
library is available in every OSX system, so you don't have to include
>
it in your project. See Apple examples.
>
>
HTH
>
----------------------
>
Ruben Smits
>
----------------------
>
_______________________________________________
>
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.