Allow app to deliver input stream before writing an entry to the archive
description
on behalf of webbes...
Hi guys,
This library seems to do pretty much what I need but I'm wondering if the next thing is possible with it:
I have a hundred files in my database which I would like to stream into a zip file. But in the remarks I read that if I would like to add a file as a stream, my stream must remained open until the save method is called. This means I need to open 100 simultanious connections to my database for just one request actually. Not only my connection pool is drained out, but I'm getting table locks instead of row locks eventually.
Is it possible to stream contents to the zipfile immediately, without waiting for the Save method being called? Cause than I can do with just one connection.
Cheers,
Wes