[request] Improve handling of failed download in batch mode #21

Closed
opened 2026-02-20 20:59:54 -05:00 by deekerman · 2 comments
Owner

Originally created by @zoredache on GitHub (Dec 3, 2010).

Lets say I am downloading a set of files via --batch-file. and my Internet connection drops for a short time in the middle. The transfer seems to fail and leave a half-complete file, that you won't know about except by looking through the logs or by watching the video.

It seems like this could be easily accomplished by downloading using a temporary filename, and only renaming to the correct name after the download has succeeded.

Originally created by @zoredache on GitHub (Dec 3, 2010). Lets say I am downloading a set of files via --batch-file. and my Internet connection drops for a short time in the middle. The transfer seems to fail and leave a half-complete file, that you won't know about except by looking through the logs or by watching the video. It seems like this could be easily accomplished by downloading using a temporary filename, and only renaming to the correct name after the download has succeeded.
deekerman 2026-02-20 20:59:54 -05:00
  • closed this issue
  • added the
    request
    label
Author
Owner

@rg3 commented on GitHub (Dec 4, 2010):

Try the head revision and tell me any problems you find, please. Thanks in advance.

@rg3 commented on GitHub (Dec 4, 2010): Try the head revision and tell me any problems you find, please. Thanks in advance.
Author
Owner

@zoredache commented on GitHub (Dec 9, 2010):

Seems to be working so far. Thanks for doing this so quickly.

@zoredache commented on GitHub (Dec 9, 2010): Seems to be working so far. Thanks for doing this so quickly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#21
No description provided.