[GH-ISSUE #523] Upload very big files (20GB) issue #385

Closed
opened 2026-03-02 15:58:19 +03:00 by kerem · 8 comments
Owner

Originally created by @lubomben on GitHub (Apr 14, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/523

I am trying to upload very big file, about 20 GB but the upload starts than progress bar stuck indefinitely.

My configuration:

  • CentosOS 8.3
  • Apache 2.4.37
  • php and php-fpm 7.2.24

php.ini config extract:
max_execution_time = 0
max_input_time = -1
memory_limit = 1000M
upload_max_filesize = 25000M
post_max_size = 21400M

tinymanager.php extract:
$max_upload_size_bytes = 25000000000;

LimitRequestBody in httpd.conf is not present so it takes the default value of 0.

I configured a temp dir in php.ini for uploading file and I noticed that the upload is going but is stopped after about 1.1GB and the temporary file is deleted.

Is all correct? Is possible to upload a file so big?

Thanks to all.

Originally created by @lubomben on GitHub (Apr 14, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/523 I am trying to upload very big file, about 20 GB but the upload starts than progress bar stuck indefinitely. My configuration: - CentosOS 8.3 - Apache 2.4.37 - php and php-fpm 7.2.24 php.ini config extract: max_execution_time = 0 max_input_time = -1 memory_limit = 1000M upload_max_filesize = 25000M post_max_size = 21400M tinymanager.php extract: $max_upload_size_bytes = 25000000000; LimitRequestBody in httpd.conf is not present so it takes the default value of 0. I configured a temp dir in php.ini for uploading file and I noticed that the upload is going but is stopped after about 1.1GB and the temporary file is deleted. Is all correct? Is possible to upload a file so big? Thanks to all.
kerem 2026-03-02 15:58:19 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@EV-soft commented on GitHub (Apr 14, 2021):

How about PHP-settings:
upload_max_size
post_max_size

Ref: Cant upload #441

<!-- gh-comment-id:819530540 --> @EV-soft commented on GitHub (Apr 14, 2021): How about PHP-settings: **upload_max_size** **post_max_size** Ref: Cant upload #441
Author
Owner

@lubomben commented on GitHub (Apr 14, 2021):

upload_max_filesize = 25000M
post_max_size = 21400M

<!-- gh-comment-id:819532442 --> @lubomben commented on GitHub (Apr 14, 2021): upload_max_filesize = 25000M post_max_size = 21400M
Author
Owner

@prasathmani commented on GitHub (Apr 15, 2021):

increase the following values in php.ini configuration

upload_max_size
post_max_size
upload_max_filesize

https://stackoverflow.com/questions/28830804/is-it-possible-to-upload-video-size-20gb-at-a-time-by-using-php-as-technolog

<!-- gh-comment-id:820127101 --> @prasathmani commented on GitHub (Apr 15, 2021): increase the following values in `php.ini` configuration ``` upload_max_size post_max_size upload_max_filesize ``` https://stackoverflow.com/questions/28830804/is-it-possible-to-upload-video-size-20gb-at-a-time-by-using-php-as-technolog
Author
Owner

@lubomben commented on GitHub (Apr 15, 2021):

upload_max_filesize = 21000M
post_max_size = 21400M

upload_max_size daesn't exist as parameter in php.ini (or yes?).

<!-- gh-comment-id:820352484 --> @lubomben commented on GitHub (Apr 15, 2021): upload_max_filesize = 21000M post_max_size = 21400M upload_max_size daesn't exist as parameter in php.ini (or yes?).
Author
Owner

@EV-soft commented on GitHub (Apr 16, 2021):

difference between “upload_max_size” and “upload_max_filesize”
https://stackoverflow.com/questions/45712556/difference-between-upload-max-size-and-upload-max-filesize
In php.ini -> upload_max_filesize is used !

<!-- gh-comment-id:820941009 --> @EV-soft commented on GitHub (Apr 16, 2021): **difference between “upload_max_size” and “upload_max_filesize”** https://stackoverflow.com/questions/45712556/difference-between-upload-max-size-and-upload-max-filesize In php.ini -> upload_max_filesize is used !
Author
Owner

@lubomben commented on GitHub (Apr 16, 2021):

And I have it with the correct size. So, any suggestion?

<!-- gh-comment-id:820957289 --> @lubomben commented on GitHub (Apr 16, 2021): And I have it with the correct size. So, any suggestion?
Author
Owner

@phifogg commented on GitHub (Nov 1, 2021):

Has this been solved? I also would like to exchange quite large files for up to 5 GB or so.

<!-- gh-comment-id:956774932 --> @phifogg commented on GitHub (Nov 1, 2021): Has this been solved? I also would like to exchange quite large files for up to 5 GB or so.
Author
Owner

@prasathmani commented on GitHub (Feb 12, 2022):

Chunked file upload is available now #714. now big files can uploaded easy

<!-- gh-comment-id:1037063819 --> @prasathmani commented on GitHub (Feb 12, 2022): Chunked file upload is available now #714. now big files can uploaded easy
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#385
No description provided.