从 WP7 上传 XML 文件,可能,如何等? [英] Uploading XML files from WP7, possible, how to etc?

查看:33
本文介绍了从 WP7 上传 XML 文件,可能,如何等?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一种系统,用户可以将 xml 文件上传到网站供其他人稍后下载.我在这个部门的经验很少,也不知道从哪里开始,所以这是一个相当简单的问题,我该如何实施这样的事情?我需要 ASP 托管吗?

I'm looking into a system where users can upload xml files to a website for others to download later on. I have very little experience in this department and don't really know where to begin so this is a fairly straightforward question, how do I go about implementing such a thing? Will I need ASP hosting or something?

推荐答案

是的,您需要某种形式的网站/服务托管.站点/服务必须接受 XML 文件的提交.有很多方法可以做到这一点,这取决于您想要什么以及您希望实现的安全性.您的网站/服务还必须为用户/应用程序提供一种浏览和下载所述 XML 文件的方式.同样,有很多方法可以做到这一点,这里的安全性可能也是一个考虑因素.

Yes, you will need some form of hosting for a web site/service. The site/service must accept the submission of the XML files. There are lots of ways of doing this depending on quite what you want and the security you wish to implement. Your web site/service must also provide a way for the user/application to browse and download the said XML files. Again there are lots of ways to do this and again security may be a consideration here.

我建议您调查可用/需要的选项,然后在此处提出更具体的问题.

I'd suggest investigating the options available/desirable to you and then asking more specific questions here.

更新
关于你将在电话上做什么.您可能希望使用 HttpWebRequest.
从服务器获取数据的最简单方法是使用 WebClient 但根据安全性,您可能需要使用 HWR.

Update
With regards to what you'll be doing on the phone. You'll probably want to POST the data from the APP using HttpWebRequest.
The easiest way to get data from a server is using WebClient but depending on security you may need to use HWR.

如果您没有任何托管服务,那么您所获得的可能会影响您的能力.传输数据的安全性及其存储方式将影响您需要做什么.

If you don't have any hosting then what you get will likely impact what you can do. The security of the data transmitted and how it is stored will impact what you need to do.

我会先调查/研究 HTTP 的基础知识.

I'd start by investigating/researching the basics of HTTP.

这篇关于从 WP7 上传 XML 文件,可能,如何等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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