pqina/filepond-boilerplate-php

Support for large video files upload - file not saving if larger than 8 megabyte

hasnatbabur opened this issue · 1 comments

Thanks for this awesome PHP script.

I was able to upload image files and saving them in temp folder in server/PC.

But I was unable to save video files into server/PC. The front end filepond block is always showing the upload is complete. For example video files around 20mb in size.

Do you know the php scripts works for saving video files out of the box? Or have a plan to give support for video files?

Thanks a lot again.

-- Hasnat

The maximum upload size for the boilerplate is configured at 8MB, therefore the maxFileSize property is set to '5MB' so it automatically blocks files that are too large.

If you raise the FilePond maximum you also have to configure the server to allow bigger files.

This is the error that is thrown when uploading large files, unfortunately, the server returns this with a 200 status OK header which causes FilePond to think the upload went well.

screenshot 2019-01-22 at 09 09 40

Information on changing the maximum upload size can be found here:
https://stackoverflow.com/questions/2184513/change-the-maximum-upload-file-size