libzippp
libzippp copied to clipboard
Is it possible to incrementally append data to a file already added to an archive?
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.