Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listen to port 80
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00975220
Message ID:
00975271
Vues:
10
Actually the data is coming from a Pocket PC, but could be any web address.
The PPC sends the XML via port 80 and a web service needs to suck that in and spit out DBF files.
Thanks!


>>I need to create a web service or some code to listen to port 80 and suck in a XML file. Any ideas? TIA!
>
>Is the XML file out on the internet? What do mean by "Listen"? If you have a URL to the file, you can use this code.
>
>
>ox=CREATEOBJECT("Microsoft.xmlhttp")
>ox.open("post","http://www.MyDomain.com/MyXMLFile.xml",.f.)
>ox.send()
>lcXML = ox.responseText
>
>
>This will suck the XML file into the variable lcXML.
>
>Hope it helps.
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform