Hello and hope this messsage finds you well!
We are hosting and maintaining a customer website, the website uses Cloudflare proxy to host a variety of content.
The problem we’re facing is the limit in request sizes. Our clients plan on CF allows 100 MB on body size (https://developers.cloudflare.com/workers/platform/limits/#request-limits) and that would not be a problem since data can be sliced into chunks of that size with various methods. However, Group File Access plugin uses native PHP upload function only, which doesn’t allow slicing the upload into chunks like WP upload does. The plugin has worked perfectly before but now that our client has migrated to using Cloudflare proxy we are facing this issue.
We are wondering if this issue is something you have dealt with before and if you know of a possible workaround?
If this is something you don’t have a workaround for, we would highly appreciate a patch to the code that would allow using different upload methods, like WP upload for example.
I would love a further discussion if you find it needed and thank you for your time.
Kind regards,
Santeri Ekdahl
Evermade
Comments
One response to “Cloudflare request size limit on file upload”
Hi Santeri,
Welcome to our support forum and many thanks for sharing your issue with GFA uploads and the limitations applied by Cloudflare.
I think that a plugin update which changes the uploading method and supports chunked uploads is pretty suitable, based on your feedback. We will proceed towards this approach and let you know once this is released.
In the meantime and until the updated version is out, I can recommend you to upload via FTP and then Scan for new files. Finally, Import those new file entries and use/restrict your files as needed.
Reference: https://docs.itthinx.com/document/groups-file-access/file-import/
Kind regards,
George