Do you have a cached copy of whatever document you are trying to retrieve? If you
retrieve the file, then pull the ethernet cable, then attempt a file retrieval again,
you won't get any error because the local cached copy will be used. Add a ? to the end
of the file's URL to always force a fresh retrieval (ignore cached copy) or make sure
to clear your cache before testing after the cable has been pulled.
Cheers,
Tom
> -----Original Message-----
> From: Pete Carss [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 9:16 AM
> To: Lingo-L Digest
> Subject: <lingo-l> netdone() neterror()
>
>
> Would any of you know why when using netError() to check the
> status of a
> network operation. It returns "OK" even if I would the ethernet cable
> out from the back of my computer. Code along the lines of:
>
> if (netDone(gProductLogicID) = true) and (NetError(gProductLogicID) =
> "OK") then
> --do lots of stuff
> else if (netDone(gProductLogicID) = true) and
> (NetError(gProductLogicID) <> "OK") then
> --do other stuff
> end if
>
> Pete
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]