tdl
tdl copied to clipboard
[Feat] Automatically restart/retry after download/upload fails or is interrupted
Basically the title. Is there a way this can be implemented?
In addition to this, would it be possible to have the ability to resume/continue uploading/downloading files from the last position where the task was interrupted?
Thanks in advance for any help : )
Do you mean http://localhost:1313/tdl/guide/download/#resumerestart ?
@iyear, yep I do, but I mainly meant for uploads. I'm aware that it sorta works for downloads but I tried using the same parameters while uploading and it didn't work. Is it supposed to work the same for uploads as well?
while true; do
tdl dl -f tdl-export.json -d /path/to/your/dir --continue || sleep 5
done
this should do the job
nano script
chmod +x script
./script
paste the code in the script