libzippp icon indicating copy to clipboard operation
libzippp copied to clipboard

Is it possible to incrementally append data to a file already added to an archive?

Open andersfeyling14 opened this issue 1 year ago • 1 comments

I have a use case where I want to fetch the entirety of journals, zip it, and then upload it to an off-site https server. My approach has been to keep the entire stream in memory, and then add that to an archive. This really strains my RAM when the file created is large enough.

Ideally I could get a reference to the file inside the zip archive, and add it incrementally as I retrieve the journal fields using sd-journal.

Any tips are much appreciated.

andersfeyling14 avatar May 26 '23 14:05 andersfeyling14