Firefox PHP

Download gets truncated to 12 MB

Posted by dangdongho3 
Download gets truncated to 12 MB
March 07, 2018 01:53AM
Hi,

I am able to upload big files and I can validate that the file is located in the DB in the correct size, but when a user tries to download any big file it gets truncated to 12 MB and gets corrupted.

I found this guy reporting the same problem, even though he did manage to explain it well.

[www.phorum.org]

So in order to avoid misunderstanding:

I can upload, i.e. attach, any file in any size with success. The file is located in the DB in the correct size and content.

But users cannot download the attachments because all attachments gets truncated to 12 MB and gets corrupted.

Kind regards

UPDATE

I changed to database field "file_data" from MEDIUMTEXT to LONGTEXT and the problem was solved. The file size cheated a bit
Sorry, only registered users may post in this forum.

Click here to login