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....
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?
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();
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?
Comment