Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search


 [1/2] from: sunandadh:aol at: 26-Dec-2002 17:50

Connected? always return true on my machine (win98) even when I'm not. I want to check if the user is online before doing an ftp. I can surround the code with an try block (I'd do that anyway) but that takes a long time to fail if not connected. Any suggestions? Thanks, Sunanda.

 [2/2] from: anton::lexicon::net at: 28-Dec-2002 13:39

This is a problem that has come up before. Holger has said that the most reliable way to determine if you are online or not is to actually try to connect. Anton.