There's nothing more horrible than downloading something for 20 minutes... and then the connection just freezes, and you can't get it going again so you need to start downloading from scratch. Maybe you've got a crappy internet connection, or maybe the server you're downloading from is crappy.

Anyway, I'm wondering what's the best way around this. Here's what I use currently:

wget --tries=0 --timeout=120 --wait-retry=5 --retry-connrefused
then if that were to freeze, I'd add "continue" to the mix:

wget --continue --tries=0 --timeout=120 --wait-retry=5 --retry-connrefused
Any other ideas on how to deal with troublesome downloads?