Hi !
 
I need wget to quit trying to download a file if it encounters any problem more than 2 times. So I specified a connection timeout and a dns timeout and retry count as 2. This works fine. If connection cannot be established for two tries, wget exits. Now the problem is, if the network connectivity is lost in between. Here the read timeout comes into picture. If there is not network activity for "read timeout", then wget starts the file download all over again. Retry does not have any effect here. Each time read timeout occurs, wget tries for a new download, and again read timeout happens. When this happens, it seems as if wget is stuck, it never exits. I want this also to happen only 'n' times. How can I configure this?
 
Would be glad if anyone could help me out. Thanks in advance.
 
 
Cheers
Lilian.-


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice.

Reply via email to