owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
213 stars 120 forks source link

[Feature Request] Chunked Uploads #696

Open jkraemer opened 4 years ago

jkraemer commented 4 years ago

The Problem

I'm using an iPad to edit videos and uploads of the resulting large files (i.e., several GB in size) often fail, depending on network conditions (unless it's a really good connection large files will time out / fail for whatever reason while small files upload just fine).

Describe the solution you'd like

I believe having chunked upload support like in the Desktop client would really make large file uploads more robust. Even for smaller files, that would help in bad network conditions as only smaller fragments have to be re-transmitted in case of errors vs the whole failed file.

I understand that iOS doesn't make implementing this easy, but maybe with all the recently added multi tasking / multi window support in i(Pad)OS there were also some features introduced that would help running / resuming such chunked uploads? Even if I would have to keep the app open / running in a split screen for the duration of the upload, it would be an improvement imho.

Describe alternatives you've considered The (inconvenient) alternative is to move files off the iPad via USB-C and upload from the notebook.

jkraemer commented 4 years ago

I just saw https://github.com/owncloud/ios-sdk/issues/65 (TUS Uploads) which I believe would solve my problem. Is this something that is already supported on the server side? Never heard of that before.

michaelstingl commented 4 years ago

TUS is currently under development for the new, Go-based microservice backend "ownCloud Infinite Scale" (https://github.com/owncloud/product/issues/19)

We can check if a fallback to ownCloud 10 chunking is possible.