You would post it to a uri.

*-- Use serverXMLHttp to prevent some Anti-Virus software from blocking   
*-- since XMLHttp apparently tries to modify Internet Explorer settings   
*-- in the Registry   
oXML = Createobject("msxml2.serverXMLHttp")    
*-- .F. means Synchronously, or wait until it's done.
oXML.Open("POST", theURI, .F.)   
oXML.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')

oXML.Send(xmlText)   

check your status and things, and I usually wrap the SEND in a try/catch


Also possible with Craig Boyds vfpconnection.fll. You'll need to be aware of
the SetResponseTimeout function in the DLL.

HTH,
Tracy

-----Original Message-----
From: John 
Sent: Wednesday, January 06, 2010 5:48 PM

Anyone know how to upload an xml file to a webserver using xmlhttp?

John Harvey




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001501ca8f2c$972185d0$c56491...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to