Hi Dennis,
Of course what I meant were not what Steven Lewis has mentioned(using
XmlDocument or XmlReader/XmlWriter.... ), that's not possible for
modifying serverside document/files.
Have you viewed my last message which mentioned the WebDav and some other
approachs(which require a certain dynamic page on the server) ? Anyway,
I'll repaste my previous reply here for your reference:
======================
As for create/modify file/document on webserver, we can not use the buildin
file system(system.io) or xml (system.xml) apis in .net framework to do it.
In fact, normally, the webserver won't allow HTTP protocal based file
manipulation on server. As far as I know, the only available means
(manipulating documents on webserver through http protocal ) are using the
WEBDAV which is a publish standard that many servers (IIS, exchange ...)
has supported ).
WebDav is rely on XML, when we want to create/ update files/resources on a
certain server, we just send WebDav message to the server , the message is
xml based and can be sent through HTTP request. For detailed info on
WebDav, you can have a look at the following site:
# WebDAV Resources
http://www.webdav.org/
And currently the latest IIS server support communicattion with webdav. We
need to do some configuration on the serverside so as to enable the WebDav
and then using the proper component to send the XML based webdav requests
to server. Here are some tech articles discussing on the related info:
#Using WebDAV with IIS
http://www.wown.com/articles_tutorials/WebDAV-IIS.html
#Communicating XML Data over the Web with WebDAV
http://msdn.microsoft.com/library/en-us/dnxmlweb/html/xmlandwebdav.asp?frame
=true
In addition, to make things convenience, if it's ok to provide a certain
public dyanmic webpage or webservice on the webserver(in your scenario),
I'd rather recommend that you publish such a dynamic webpage/webservice
which will do the actual file manipulation tasks on the server, then all
the client apps just need to interact with that page/service.
How do you think? If there're anything unclear, please feel free to post
here. Thanks,
======================
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)