Adding a stream to a zip

May 28, 2008 at 3: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.

Coordinator
May 28, 2008 at 10:21 PM

There is such a feature.

check the docs.

May 28, 2008 at 11:06 PM

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.

10x



Cheeso wrote:

There is such a feature.

check the docs.




Coordinator
May 28, 2008 at 11:29 PM
ZipFile.AddFileStream()
May 29, 2008 at 2:44 PM
Edited May 29, 2008 at 2:56 PM
I checked the document and the code and couldn't see this function maybe it is in the next version?
Coordinator
May 29, 2008 at 4:50 PM

What version are you using?

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

 

May 29, 2008 at 8:14 PM

yep I am using 1.3

I will download 1.4

10x

Assaf