G-Node / G-Node/gogs

Zip file download of annexed data without creating zip file

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
15
PR merge metrics
No merged PRs in 30d

Description

A zip function that reads annexed data already exists in [libgin/archive](https://github.com/G-Node/libgin/tree/master/libgin/archive). It might be possible to write the output of the zip function to the web response writer, feeding the data to the response without creating it on disk and without waiting for the zip to finish.

The downsides will be that the download can't be resumed on interruption and there's no way of knowing the final size beforehand, so no progress.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.