Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resume chunked uploads #673

Closed
tobiasKaminsky opened this issue Jul 30, 2016 · 20 comments · Fixed by #45652
Closed

Resume chunked uploads #673

tobiasKaminsky opened this issue Jul 30, 2016 · 20 comments · Fixed by #45652
Labels

Comments

@tobiasKaminsky
Copy link
Member

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:

  • use a reproducable id and not random id as now
  • allow to get the current successfull chunks as a list
    With both enhancement the client does not need to store any information about the upload.
@PhenX
Copy link

PhenX commented Mar 8, 2017

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
Copy link
Member

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

@ariselseng
Copy link
Member

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

@karlitschek
Copy link
Member

Yes. Improvement a lot of people want.

@oparoz
Copy link
Member

oparoz commented May 18, 2017

@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.

@jancborchardt jancborchardt added 1. to develop Accepted and waiting to be taken care of high labels May 18, 2017
@rullzer
Copy link
Member

rullzer commented May 18, 2017

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

@tobiasKaminsky
Copy link
Member Author

/remote.php/webdav

@tcitworld
Copy link
Member

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

@MorrisJobke
Copy link
Member

At least the chunked upload is downstreamed: #7056

@greinick
Copy link

greinick commented Mar 21, 2018

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
Copy link
Member

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
Copy link
Member Author

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

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Feb 8, 2019
@juliusknorr
Copy link
Member

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

@juliusknorr juliusknorr reopened this Aug 21, 2019
@Cinerar
Copy link

Cinerar commented Oct 15, 2019

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

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

@tobiasKaminsky
Copy link
Member Author

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

@pankid
Copy link

pankid commented Jul 4, 2020

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.

@skjnldsv skjnldsv mentioned this issue Dec 3, 2021
18 tasks
@electrofloat
Copy link

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

Any news on this?

@tobiasKaminsky
Copy link
Member Author

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
Copy link

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
Copy link
Contributor

susnux commented Jul 31, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.