You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use @nextcloud/upload for chunked file uploads #3449
The Forms app currently uses a basic file input with simple FormData uploads. This works but has limitations for large files.
Nextcloud has a proper upload library (@nextcloud/upload) that supports chunked uploads, progress tracking, and resumability - the same experience users get in Nextcloud server.
I can confirm this issue on Android PWA — video files over ~2.1 MB crash immediately due to WebView IPC buffer limit. Chunked uploads would fix this completely.
So it seems like we should create a temporary folder in form owner filesystem, share this folder with submitter and upload file inside it. After that we can submit form by passing fileId.
I can confirm this issue on Android PWA — video files over ~2.1 MB crash immediately due to WebView IPC buffer limit. Chunked uploads would fix this completely.
Chunked uploads would not solve this because a chunk is usually >= 10MB so bigger than your 2.1MB.
there are no any other apps what uses @nextcloud/upload except server
There is, the photos app.
Pinging @susnux, too, as he probably knows more about the lib and how to use it best with Forms. :)
@nextcloud/upload is not actively worked on, we will instead add uploading API to @nextcloud/files (its already available in beta with v4.1.0-beta). Moreover soon there will be a component for this purpose in @nextcloud/vue so it can be used with Vue 2 and Vue 3.
@susnux hey-hey!
Have you released everything that planned? As far I can see the latest tag was released few days ago. Does it enable work on the current task?
Where can I get inspiration (are we using this new uploaded anywhere already)?
Activity
aleksandrmukhin74 commentedon Jul 19, 2026
I can confirm this issue on Android PWA — video files over ~2.1 MB crash immediately due to WebView IPC buffer limit. Chunked uploads would fix this completely.
Koc commentedon Jul 19, 2026
I thought about the implementation and here are my findings:
@nextcloud/uploadexcept serverMKCOLto initialize upload workspaceMOVEassemble call to merge chunksSo it seems like we should create a temporary folder in form owner filesystem, share this folder with submitter and upload file inside it. After that we can submit form by passing fileId.
WDYT @Chartman123 ?
Chartman123 commentedon Jul 19, 2026
Pinging @susnux, too, as he probably knows more about the lib and how to use it best with Forms. :)
susnux commentedon Jul 19, 2026
Chunked uploads would not solve this because a chunk is usually >= 10MB so bigger than your 2.1MB.
There is, the photos app.
@nextcloud/uploadis not actively worked on, we will instead add uploading API to@nextcloud/files(its already available in beta with v4.1.0-beta). Moreover soon there will be a component for this purpose in@nextcloud/vueso it can be used with Vue 2 and Vue 3.Koc commentedon Jul 19, 2026
@susnux so, what's our next actions? Wait for libraries update and return to this issue after that?
susnux commentedon Jul 20, 2026
I would recommend waiting ~a month and then use the logic from the library
Koc commentedon Aug 31, 2026
@susnux hey-hey!
Have you released everything that planned? As far I can see the latest tag was released few days ago. Does it enable work on the current task?
Where can I get inspiration (are we using this new uploaded anywhere already)?
susnux commentedon Aug 31, 2026
nextcloud-files v4.1.0 beta was release including the API already - the component is being reviewed:
nextcloud-libraries/nextcloud-vue#7882
Koc commentedon Aug 31, 2026
@susnux sorry, I didn't get. Should I wait for nextcloud-libraries/nextcloud-vue#7882 as well?
susnux commentedon Aug 31, 2026
Depends if it makes sense to reuse the component here, otherwise you can also just use the logic from the library