how to insert new row in xml file which is existing in ftp server using .net (client)
-
Tuesday, April 10, 2012 7:29 AM
Hi
how to insert new row in xml file which is existing in ftp server using .net (client).
i mean , from client :
i have one xml file ,with name simple.xml , this file already exists in ftp server, now i want to modify existing record(simple.xml) and add new record with out downloading the simple.xml file.
please any body help me..
Regards
Indukuru
- Moved by John SaundersMVP Saturday, April 14, 2012 5:04 PM FTP q (From:ASMX Web Services and XML Serialization)
All Replies
-
Wednesday, April 11, 2012 1:58 PM
Hi Indukuru,
you can download file from FTP and insert record in XML file and upload to FTP Server.
Check below link to add record in XML
http://www.codeproject.com/Articles/34672/Use-of-XML-File-for-Dynamically-Storing-Data-and-R
Regards
-
Monday, April 16, 2012 5:14 PM
Hi,
You can download the file using FTPWebRequest and Upload using the same class.
Use XDocument to load XML and update XML data as needed.
Welcome to MSDN Forums. Feel free to ask your questions and Please Note to Vote helpful topics and Mark answering posts. Sudhakar

