When downloading big files it necessary to pause the download many times. A big file can be downloaded by using wget
. First start download, then kill wget
, then resume download by wget -c
.
I want to pause downloads too many times depending on events such as power failure, Network unavailability, etc... and want to automate it using a script. So pressing Ctrl+C is't an option. I know a process can be paused by kill -STOP "$pid"
The pausing should not close the connection to the website, either it should wait for resume command or the bandwidth throttled to very low data useage.
How to pause aria2 download is a partial solution but option pause is not supported in my aria2
(1.8.0, Ubuntu 10.04 LTS) and I can't upgrade aria2
(From apt-get install or manually install ). This RPC option for aria2
seems to works from Ubuntu 11.10. So a portable version of aria2
is also considerable.
Looking for
I'm looking for a download manager which is capable of throttle bandwidth and pause/resume all (or one ) the running instance of download upon execution of a --throttle=10K
, --pasue
switch or something like that, and resume it on a --resume
switch (Or using other ways such as RPC).
I know killall -9 $(pidof downloader)
should stop all downloads and can be resumed from the last point. But this only a bad choice for me as the number pause/resume is too high and the time to make connection to the server (where download file locate ) is a wastage of time and bandwidth.
aria1
can do some job by --stop
switch. But it's obsolete and solves it partially.