internetarchive icon indicating copy to clipboard operation
internetarchive copied to clipboard

resume downloads automatically

Open jjjake opened this issue 2 years ago • 1 comments

First pass at making downloads resume automatically.

jjjake avatar Aug 09 '23 18:08 jjjake

TODO:

  • [ ] Fix tests... should resume be automatic? If so, should we worry about the use case where a file might have changed remotely in between download attempts (in this case, with this patch currently, ia would concatenate the contents of the new remote file to the partially downloaded local file, creating a corrupt file).
  • [x] Automatically resume on retry (i.e. via http adapter, not retries between separate processes).

jjjake avatar Aug 09 '23 19:08 jjjake