如何从Wpf编辑Web服务器上的Xml文档 [英] How Do I Edit Xml Document On Web Server From Wpf

查看:107
本文介绍了如何从Wpf编辑Web服务器上的Xml文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一个WPF项目,我需要读取和写入XML文档。该项目已使用本地XML文件执行此操作,但如何访问Web上的文件?例如,XML文件可能位于http://www.RandomWebSite.com/JobBoard/current_job.xml



请记住,我需要能够保存任何文件对XML文件所做的更改返回服务器。

I am working with a WPF project that I need to read & write to an XML document. The project already does this with a local XML file, but how do I access a file that is on the web? For example the XML file might be located at http://www.RandomWebSite.com/JobBoard/current_job.xml

Remember, I need to be able to save any changes made to the XML file back to the server.

推荐答案

您无法在网络上编辑文件!为此,您首先必须将文件下载到本地计算机,编辑并上传更改...显然并非所有网站都支持此类...
You can not edit a file 'on the web'! For that you first have to download the file to your local computer, edit it and upload it with the changes...Obviously not all sites support such thing...


这篇关于如何从Wpf编辑Web服务器上的Xml文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆