Hi All,
I am trying to do this with wget:
wget --connect-timeout=20 --read-timeout=1 --quiet \
http://support.kaspersky.com/viruses/utility/ -O -
Problem: the site takes FOREVER to complete its download. Dribble,
dribble, dribble. Occasionally is just stops. And wget hangs.
I fired this web page up in Firefox ten minutes ago and it is still
loading!
Is there a way to get wget to just time out after a while?
"--connect-timeout" doesn't seem to work as it makes a connection.
Or maybe, even better, limit the read to the first 200 bytes,
which is all I need. (Not finding an option in "man wget" or
"man curl".)
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~