|
Boost Users : |
Subject: Re: [Boost-users] Using iostream to create ZIP archive
From: eg (egoots_at_[hidden])
Date: 2009-01-14 13:55:09
Peter Json wrote:
> Hi,
>
> I'm trying to use boost to create a "zip" file containing more than one
> file.
>
> To my understanding I should use boost::iosteams to do this.
>
> In the boost documentation I there is only an example on how to unzip a file
> .....
> http://www.boost.org/doc/libs/1_37_0/libs/iostreams/doc/classes/zlib.html#examples
>
> ... but I dont understand how I could do the opposite (create a zip-archive)
> Especially how to do the naming of the files inside the archive.
>
> Does anyone have an example on howto do create a zip-archive containing a
> couple of text files?
>
There is a distinction between zlib and zip files.
this was asked and answered before.
For details see:
http://www.nabble.com/iostreams-%2B-unzip-td12725850.html#a12725850
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net