Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andersfeyling14 opened this issue May 26, 2023 · 1 comment

Comments

@andersfeyling14
Copy link

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.

@ctabin
Copy link
Owner

ctabin commented Jun 29, 2023

Hi @andersfeyling14,

I'm afraid this is currently not supported by libzippp. Maybe with a custom zip_source directly through libzip ? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants