XF2 Add-on Chunked Uploads - XF2 1.0.2

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,770
Reaction score
30,037
Points
113
NullCash
585,653
56597f5333d33.png
This addon enables "chunked uploads" in XenForo and allows you to set a virtually higher maximum upload limit up to 128GB regardless of your server configuration.

Features

  • Option to define the chunk size of each upload. This value cannot be higher than the maximum upload file size reported by your server.
  • Option to define the number of simultaneous chunk uploads (up to 10)
  • Virtually increase the maximum attachment size up to 128GB (see limitations below)
  • Integrates seamlessly with the XenForo Attachment Manager
  • Easily upload 4K video directly to your forum
    • To increase your storage capabilities integrate a service such as Amazon AWS or Digital Ocean Spaces - Tutorial
    • For better video results it is recommended to use a video CDN such as Swarmify
  • Easily bypass Cloudflare's 100MB upload limit
How does it works?

The addon integrates seamlessly with the same library that XenForo uses for attachment uploads. Each time you upload a large file, it gets uploaded in small chunks. When all the chunks are uploaded, the addon rebuilds the final file and then feeds it to the regular XenForo uploading process.

The addon creates a temporary directory at internal_data/chunked_uploads to store the temporal chunks and rebuilt versions of the uploaded files. It enforces XenForo to use the local internal_data/ directory instead of the remote flysystem location, if applicable. This directory is pruned occasionally.

Instructions

  • Configure the addon under the Options > Attachments page.
  • If you need to increase your maximum attachment file size, choose a conservative value and make some upload tests to decide if it's a file size that works for your server. Increase it or decrease depending of your test results.
 

Attachments

  • ChunkedUploads-1_0_2.zip
    57.6 KB · Views: 1
Top