mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #149] Downloading 128Mb zip file stops at 52Mb #107
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#107
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 @mindfragment on GitHub (Apr 2, 2019).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/149
TFM v2.3.3
Created a zip through TFM, tried downloading it but it always stopped halfway (52Mb), firefox said "download complete", couldn't open the zip (error). Tried through filezilla the zip downloaded and was error free.
PS: just tried again it with the same 128Mb zip, it stopped at 98Mb
and with a 533Mb zip and also stopped at 98Mb
@prasathmani commented on GitHub (Apr 3, 2019):
PHP has limits on how long a script can run, and how much memory it can use. It's possible that the script is timing out before it has completed, or is using up too much memory by reading in the large file.
Try tweaking the
max_execution_timeandmemory_limitvariables in php.ini. If you don't have access to php.ini, try theset_time_limitand/orini_setfunctions.@mindfragment commented on GitHub (Apr 3, 2019):
Thanks prasathmani. Unfortunately I can't change these parameters.
@alecos71 commented on GitHub (Apr 5, 2019):
two lines written at top of script should solve the issue...
@mindfragment commented on GitHub (Apr 5, 2019):
Thanks prasathmani. You mean at the top of the .php file ?
Even if my internet provider (on shared linux) says it is set at 60 and cannot be changed unless I move to a cpanel account ?
Just tried and same issue.
@VaelVictus commented on GitHub (May 30, 2019):
Then no, they are likely in control of what you can do. You may find it more affordable to just run your own unmanaged server!