But what if he also wants to take a look at how much of the file has been downloaded? Your idea is brilliant (no joke), but listen to mine too:
Make an alias to toggle auto-request upon failure on/off:
aruf {
if ($1 == on) {
set %aruf on
echo -a Auto-request upon failure enabled!
}
elseif ($1 == off) {
set %aruf off
echo -a Auto-request upon failure disabled!
}
else {
echo -a Auto-request upon failure is %aruf
}
}
...and then remotes:
on *:GETFAIL:*: {
if (%aruf == on) {
(resume it here, bored to write the code:P)
} }
Choose saragani