nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.32k stars 4.06k forks source link

Resume chunked uploads #673

Closed tobiasKaminsky closed 1 month ago

tobiasKaminsky commented 8 years ago

Hi,

I have developed the resuming of chunked uploads in android. Currently I store the upload id and the successful chunks. With these infos I can skip the successful parts and just upload the remaining ones. To simplify the client code I thought of this:

PhenX commented 7 years ago

This feature is a must-have for big files. I integrated such a feature with this library which works like a charm : http://resumablejs.com/

jancborchardt commented 7 years ago

This seems often requested – @karlitschek @LukasReschke @MorrisJobke @rullzer any plan here, maybe for 13?

ariselseng commented 7 years ago

@jancborchardt For the web UI owncloud is doing a PR here: https://github.com/owncloud/core/pull/26306 I think it is mostly finished.

karlitschek commented 7 years ago

Yes. Improvement a lot of people want.

oparoz commented 7 years ago

@icewind1991 told us that this would have the side-effect of preventing large files from being uploaded as they would have to be held in memory to be chunked. So we should find a way for the uploader to adapt its behaviour and not always use chunked mode.

rullzer commented 7 years ago

@tobiasKaminsky if you are using the new chunking ng this is available. What is the webdav endpoint the android client uses?

tobiasKaminsky commented 7 years ago

/remote.php/webdav

tcitworld commented 6 years ago

Will this be into 13 ? I'll try to integrate ownCloud's work this week-end maybe.

MorrisJobke commented 6 years ago

At least the chunked upload is downstreamed: #7056

greinick commented 6 years ago

Any news on that topic? Timeline? Status? Priority? How may I help in testing?

As this would be a big positiv step forward in our daily business it would be nice to have some information if possible.

As well it would be nice for anonymous uploads too and an overview how much percent is already uploaded.

Thanks a lot and regards.

MorrisJobke commented 6 years ago

Any news on that topic? Timeline? Status? Priority? How may I help in testing?

Currently it's just a proposal, not yet on the roadmap and not not worked on. If you want to have this feature in a short period of time Nextcloud GmbH offers consulting work for features like this. Feel free to contact the sales team here: https://nextcloud.com/enterprise/buy/

tobiasKaminsky commented 5 years ago

We have now chunked uploads in Android client, which is using the chunking api: https://docs.nextcloud.com/server/stable/developer_manual/client_apis/WebDAV/chunking.html

juliusknorr commented 5 years ago

@tobiasKaminsky Repoening, as it is not yet implemented in the web ui

Cinerar commented 5 years ago

Just a suggestion, take a look at https://tus.io/

https://github.com/ankitpokhrel/tus-php

tobiasKaminsky commented 5 years ago

I fear that this is not possible to use as we need to rely on our dav protocol.

pankid commented 4 years ago

Would be amazing to have this in the web UI. Been having issues lately with large file uploads with the file drop feature over less than ideal wifi. Played with psitransfer which uses tus.io, and worked even with me turning on and off my wifi card repeatedly.

electrofloat commented 1 year ago

@tobiasKaminsky Repoening, as it is not yet implemented in the web ui

Any news on this?

tobiasKaminsky commented 1 year ago

Not from my (client team lead) side. It is implemented on all clients, but not on web. That is why it is in server repository. So I cannot share any news on this…

manolopm commented 7 months ago

I would like to try to work on this or at least clarify a little bit to help someone to finish it. @tobiasKaminsky could you point me how did you do in the android client? I've seen old web client create and md5+time, the new one creates a random string.

susnux commented 3 months ago

How to do it: https://docs.nextcloud.com/server/stable/developer_manual/client_apis/WebDAV/chunking.html

WebUI is also using the new API and retry failed chunks only public shares are missing.