save a xml file to the internet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sajjadlove
    New Member
    • Apr 2009
    • 19

    save a xml file to the internet

    Hi
    i want to share a xml file between some companies.for this reason i uploaded this file to the internet and use it for sharing and set its permission to 777....

    don't problem for reading that....
    Code:
    XmlTextReader reader = new XmlTextReader(carDBPath);
    XmlTextWriter writer = new XmlTextWriter(url, Encoding.UTF8);
    
    while (reader.Read())
    {
        writer.WriteNode(reader, true);
    }
    
    reader.Close();
    writer.Close();
    now, assume that i change its information and want to apply this changes to base file in the internet....

    i don't want to work with FtpWebRequest or any class like this that works with ftp to upload file...

    how can i do this?
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Mount the internet location as a drive on your machine. Then all you need to do is use the file tools to read and write to it?

    Comment

    • sajjadlove
      New Member
      • Apr 2009
      • 19

      #3
      but don't work this way like a ftp manager??

      --------
      sorry for bad english

      Comment

      Working...