You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed this library also contains a zip function, but no examples of how to use it. I need to download a bunch of files from AWS S3, zip them as they download, then feed the zip to the requesting user via Phoenix response. Is this possible with this library?
Thanks
The text was updated successfully, but these errors were encountered:
Unfortunatly, the ZIP Spec defines a way to allow streaming when writing the file with a "data descriptor" at the end of each file defining size and checksum AFTER the file. But nearly none implementation understand this data descriptor.
So no this lib will not create a zip as stream since it is not actually possible :)
But I plan to add support to write zip to a file with an Elixir binary "stream" input.
I don't know if that library helps? I'm essentially hoping to reduce
memory and drive requirement on the server
Regards,
Lee
On Mon, May 9, 2016 at 6:15 AM, Arnaud Wetzel [email protected]
wrote:
Unfortunatly, the ZIP Spec defines a way to allow streaming when writing
the file with a "data descriptor" at the end of each file defining size and
checksum AFTER the file. But nearly none implementation understand this
data descriptor.
So no this lib will not write zip file as stream since it is not actually
possible :)
But I plan to add support to write zip to a file with an Elixir binary
"stream" input.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #1 (comment)
I've noticed this library also contains a zip function, but no examples of how to use it. I need to download a bunch of files from AWS S3, zip them as they download, then feed the zip to the requesting user via Phoenix response. Is this possible with this library?
Thanks
The text was updated successfully, but these errors were encountered: