how to read the xml file in webserver without asp.


  • hi developer!

    I want the code for read the xml file in web server. i search in many website ,but i can't the code only find the ASP code .
    And how write the xml file in web server in

    Plz help me

    Tuesday, July 29, 2008 9:26 AM

All replies

  •         My.Computer.Network.DownloadFile("", "c:\localfilename.xml")
            My.Computer.Network.UploadFile("c:\localfilename.xml", "")

    You can also use HttpWebRequest and HttpWebResponse classes as well.

    Double check the syntax in the docs, but that should give you an idea.

    • Edited by Chris Dunaway Tuesday, July 29, 2008 5:16 PM Added additional text
    Tuesday, July 29, 2008 5:15 PM
  • hi

             This not a solution. how to use the httpwebrequest method in windows application.
             I have read the Xml file in web server. then i will do the update that  file . but use only window application.

    plz help me.............
    Wednesday, July 30, 2008 10:22 AM