Compress and write files as they are added

Jan 21, 2013 at 3:33 PM

I am trying to create something like a tar archive, basically using the zip as a directory/container. I want to add a number of large files as they are downloaded from a stream. Little to no compression is fine. Is there a way to compress and write the zip file as a stream is added to an archive?