exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
60 stars 24 forks source link

Feature request: consolodate download() methods #1352

Open exponentcms opened 4 years ago

exponentcms commented 4 years ago

We currently use many multiple file download methods/routines, all of which are slightly different, most of which are NOT resume friendly nor low-memory tolerant (crash on large files). We should 'revert' to using a single all-purpose 'download' method/function which adapts to accommodate huge file transfers with resume support. In most cases, this MUST be handled by using a temporary file since 'echo' and other output to stdout tends to buffer the entire file/data-stream before sending (thereby exhausting available memory).

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

Lighthouse URL: https://exponentcms.lighthouseapp.com/projects/61783/tickets/1308