找不到FtpWebRequest [英] Not found FtpWebRequest

查看:111
本文介绍了找不到FtpWebRequest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我是WP7应用程序开发的新手。我使用的是SDK7.1.1。在我的应用程序中,我必须在Ftp服务器上传文件,但我没有得到FtpWebRequest。你能帮我解决一下我要在我的项目中添加的API或库吗?


提前问候和谢谢。

解决方案

Windows Phone应用程序无法使用FtpWebRequest。您需要自己处理ftp连接。您可以查看第三方C#库。即使他们不直接针对Windows Phone,也可能很容易移植。


一体化代码框架示例
在Windows应用商店应用下载FTP文件            ; 
可能是一个好的开始。它确实下载而不是上传和定位Windows应用商店应用,但它应该让你非常接近在Windows Phone应用中上传。


- Rob



Hi All, 

I am new in WP7 application development. I am using SDK7.1.1 . In my application i have to upload file on Ftp server but i am not getting FtpWebRequest . Can you please assist me what API or Library i have to add on my project to find it.

Regards andThanks in Advance.

解决方案

FtpWebRequest is not available to Windows Phone apps. You will need to handle the ftp connection yourself. There are third party C# libraries which you might take a look at. Even if they don't directly target Windows Phone some will likely be readily ported.

The All-in-one Code Framework sample Download FTP file in Windows Store app             may be a good start. It does download rather than upload and targets Windows Store apps, but it should get you pretty close to uploading in a Windows Phone app.

--Rob


这篇关于找不到FtpWebRequest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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