Mar 5, 2001 #1 andyUK Programmer Dec 19, 2000 39 GB I need to post an XML file from vbasic in to a asp page on my server. How do i go about receiving this file and processing it?
I need to post an XML file from vbasic in to a asp page on my server. How do i go about receiving this file and processing it?
Mar 5, 2001 #2 Kirilla Programmer Jul 12, 2000 101 HU Hi. To send the XML from the client side call this ASP: <SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER"> dim xmldoc set xmldoc = Server.CreateObject("Microsoft.XMLDOM" xmldoc.load(Request) xmldoc.save(Server.MapPath("sca.xml") </SCRIPT> and to send an XML to a Client call this: <SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER"> dim xmldoc set xmldoc = Server.CreateObject("Microsoft.XMLDOM" xmldoc.load(Server.MapPath("sca.xml") xmldoc.save(Response) </SCRIPT> regards, Kirilla Upvote 0 Downvote
Hi. To send the XML from the client side call this ASP: <SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER"> dim xmldoc set xmldoc = Server.CreateObject("Microsoft.XMLDOM" xmldoc.load(Request) xmldoc.save(Server.MapPath("sca.xml") </SCRIPT> and to send an XML to a Client call this: <SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER"> dim xmldoc set xmldoc = Server.CreateObject("Microsoft.XMLDOM" xmldoc.load(Server.MapPath("sca.xml") xmldoc.save(Response) </SCRIPT> regards, Kirilla