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

Support for resuming aborted downloads #607

Open
ghost opened this issue Aug 26, 2015 · 4 comments
Open

Support for resuming aborted downloads #607

ghost opened this issue Aug 26, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2015

Are there plans to introduce support for resuming a previously aborted download? In my case, the size of the update packages is pretty big and it happens quite frequently that the user quits the app before the background updater reaches the ready-to-install-on-quit state. When the app is launched next time, Sparkle starts the download again from scratch.

I know of the delta updates feature, that can alleviate this problem to some extent but not solve it entirely. So can we add resuming downloads to the backlog, please?

@jakepetroules
Copy link
Contributor

Yes, this would make sense. Would go along well with background downloads (like Chrome's updater), which is something I want to implement at some point.

@zorgiepoo
Copy link
Member

I don't imagine this is hard to implement onto our existing use of NSURLDownoad, not if one doesn't mind about incomplete files lingering around for a little longer. I'm not sure if there are any security implications or if http + server support has to handle all that though (e.g. if the file on the client or server changes).

@kornelski
Copy link
Member

We can safely do that for downloads signed with DSA.

I remember download managers used to resume files few KB earlier than necessary to compare the re-downloaded fragment with the existing data. That should be quite reliable in compressed formats.

@ghost
Copy link
Author

ghost commented Aug 27, 2015

That's great news, thank you! I wish I could contribute but currently I'm pretty overwhelmed...

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

No branches or pull requests

3 participants