Adding a stream to a zip

May 28, 2008 at 4:02 PM
Why don't you have a feature that allows to add a stream to a zip.
It can ease the procedure of saving to a file and then ziping it up.

May 28, 2008 at 11:21 PM

There is such a feature.

check the docs.

May 29, 2008 at 12:06 AM

Do you mean
public static ZipFile Read(Stream ZipStream,TextWriter StatusMessageWriter)

Isn't that only for a stream that holds a compress data?
I want to give an uncompress stream and get back a compress stream and vice versa.


Cheeso wrote:

There is such a feature.

check the docs.

May 29, 2008 at 12:29 AM
May 29, 2008 at 3:44 PM
Edited May 29, 2008 at 3:56 PM
I checked the document and the code and couldn't see this function maybe it is in the next version?
May 29, 2008 at 5:50 PM

What version are you using?

ZipFile.AddFileStream() is in v1.4, which is the current release.


May 29, 2008 at 9:14 PM

yep I am using 1.3

I will download 1.4