1
[Enhancement] Allow chunked file upload
Source: outline/outline#7724 · opened by @ToshY
Problem
I'm using the self-hosted Outline behind CloudFlare, which has a limit on file uploads for [100 MB]( (for Free and Pro plans). Currently, even if you set the FILE_STORAGE_UPLOAD_MAX_SIZE to be larger than the specified CloudFlare limit and you try to upload a large file of over 100 MB (e.g. video/zip/etc.) the upload wil fail with a 413 status code.
While one workaround would be to not proxy it through CloudFlare, I think a more elegant solution would be having an option to have Outline perform chunked uploads instead. Either a simple chunked upload or something like [TUS]( (with the [chunkSize]( option) with an additional environment variable in Outline to specify the chunk size (e.g. FILE_STORAGE_UPLOAD_CHUNK_SIZE) would be nice to have.
I'm using the self-hosted Outline behind CloudFlare, which has a limit on file uploads for [100 MB]( (for Free and Pro plans). Currently, even if you set the FILE_STORAGE_UPLOAD_MAX_SIZE to be larger than the specified CloudFlare limit and you try to upload a large file of over 100 MB (e.g. video/zip/etc.) the upload wil fail with a 413 status code.
While one workaround would be to not proxy it through CloudFlare, I think a more elegant solution would be having an option to have Outline perform chunked uploads instead. Either a simple chunked upload or something like [TUS]( (with the [chunkSize]( option) with an additional environment variable in Outline to specify the chunk size (e.g. FILE_STORAGE_UPLOAD_CHUNK_SIZE) would be nice to have.
No pledges yet. Be the first to back this.
Comments
Similar requests
Make it possible to upload attachments via API
1 vote · 0 comments
Enhanced Image Upload Component
1 vote · 0 comments
MCP — support end-to-end attachment upload (not just presign) so clients don't need a separate API key
1 vote · 0 comments
Uploading or embed pdfs
12 votes · 0 comments
Include child documents when creating template
4 votes · 0 comments
No comments yet.