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

Add functionality to provide file streams and zip them on the fly #77

Merged
merged 3 commits into from Nov 20, 2021

Conversation

beckedorf
Copy link
Contributor

@beckedorf beckedorf commented Nov 20, 2021

It is a common use case to store large files remotely and not next to the code. See e.g. for django https://github.com/jschneier/django-storages. If many (large) files must be shipped synchronuosly as a zip file, it saves memory and storage to pass them through the web worker as a stream without saving anything to disk. To archive that, file buffers as input may be supported.

I would appreciate if we could add this functionality. This pull request contains a tested initial attempt. Feel free to improve!

This pull request is based on #75 and #76

@sandes sandes merged commit 0f2ba98 into sandes:master Nov 20, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants