mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-27 11:25:54 +03:00
[GH-ISSUE #259] download large file issues #187
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kewlfft on GitHub (Nov 30, 2019).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/259
readfile()on large files can create issues even if in theory the documentation says it can handle any size. I personally had issues for files over 4GB. This is made worse if several users download the file at the same time. It seems the simplest way to handle this is to output the file in “chunks”.I have implemented the solution proposed here and it worked for me.
To see whether replacing:
with:
was something we could implement.
@EV-soft commented on GitHub (Nov 30, 2019):
Missing:
@fclose($file);@kewlfft commented on GitHub (Nov 30, 2019):
@EV-soft good point, thanks