I cant remember who it was on here that turned me on to Wget,but I have a problem with my use of it. It seems that it lacks an error handler in case of a failed connect or bad download and just hangs there,keeping anything further from being downloaded. The only way to reset it is the ctrl-alt-del and end task routine. Not good for an automated station! It gets called from windows scheduler in Win98 and fetches news,weather and amber alerts when it works. Anyone know what to do to resolve this problem? Maybe another solution that works better? Thanks! Regards,Lee,Radio Free Erie
http://www.freewebs.com/wilcomlabs/index.htm
I've not seen it do that. Which version are you running? There's a couple things we can try. Modify your command line for that batch with:
-t=NUMBER
Where NUMBER is the amount of times you want it to retry a file. And:
-T=SECONDS
Where SECONDS is the timeout value in SECONDS.
There's also these that could be of use:
--dns-timeout=SECS set the DNS lookup timeout to SECS.
--connect-timeout=SECS set the connect timeout to SECS.
--read-timeout=SECS set the read timeout to SECS.
-w, --wait=SECONDS wait SECONDS between retrievals.
--waitretry=SECONDS wait 1..SECONDS between retries of a retrieval.
--random-wait wait from 0...2*WAIT secs between retrievals.
It might be Win98 that is hanging it. I use WGET too, and it occassionally fails to connect, and after a few minutes it terminiates. However I run it under Windows 2000 which runs each command line in a seperate environment - I beleive that each command session is in its own "virual machine", and one machine hanging will not prevent other command sessions from haning, whereas in Windows 98 you are really running in a DOS window, under which all command line apps share a thread.
Just my .02 worth.
If you are using Firefox, I find the combination of FlashGot and WackGet work great. FlashGot is a Firefox plugin. WackGet is a GUI wrapper for Wget and can be used by itself.
I put the -t=2 in the line but it doesnt run at all,maybe I dont know the proper way to use these??? Not a DOS expert by any stretch of imagination,LOL
Regards,Lee
http://www.freewebs.com/wilcomlabs/index.htm
I need help with the use of appending the timers,where do they go and how exactly do they get typed in????? I have had no luck so far.....
Regards,Lee
http://www.freewebs.com/wilcomlabs/index.htm
That did it,Thanks!
Regards,Lee
http://www.freewebs.com/wilcomlabs/index.htm
It runs but it still hangs at the line "resolving host". Ready to give up on this one. Is it the Gatesware or something else?
Regards,Lee
http://www.freewebs.com/wilcomlabs/index.htm
I occasionally get "hangs" of a couple seconds when it's having trouble resolving a domain name.
Do you have another DNS server you could try?
Thats the whole problem,if it fails to resolve the host,it just hangs. Even with the -T2 it says it failed,but just hangs there and wont run that particular download again until I reset it. The others will run as long as they dont hang. I guess what I need is someting that will tell it to close and re-try the download. Its useless the way it is. Remember,I am automated and unattended most of the time.
Maybe the problem is with task scheduler and not WGet????
Regards,Lee
http://www.freewebs.com/wilcomlabs/index.htm
Either with the scheduler or Win98 maybe.
I run it on an XP machine and it runs flawless.
Let me see if I can find a replacement scheduler.
