Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if URL exists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01081183
Message ID:
01081475
Vues:
7
>First I would ping it -- a general check if this Url can be traced to a server.
>
>Then, if the ping was successful, I would send a HTTP request. The headers and the body of the response have enough information to decide whether the Url exists.

Ping isn't a reliable test at all - many sites block ICMP. For example, try PINGing microsoft.com.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform