Re: Working with ZIP files
Re: Working with ZIP files
- Subject: Re: Working with ZIP files
- From: Ruben Smits <email@hidden>
- Date: Mon, 22 Mar 2004 12:17:27 +0100
Hi Dragan,
OSX provides more libraries that handle zipping. I am not 100% sure,
but I think dito can also handle unzipping. Take a look in
documentation to be sure. It should be possible to use a library for
(un)zipping. In our own application we use dito to ZIP files without
problems.
Ruben Smits
On 22 mrt 2004, at 10:58, Dragan MiliD wrote:
>
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.