C# 在metro应用程序中从ftp服务器下载文件

C# 在metro应用程序中从ftp服务器下载文件,c#,ftp,microsoft-metro,C#,Ftp,Microsoft Metro,在Metro应用程序中,我想将文件从ftp服务器下载到本地 我尝试使用Windows.Networking.BackgroundTransfer命名空间,并使用了以下代码: DownloadOperation download=downloader.CreateDownload(ftpsource,destinationFile) 但是方法download.GetResponseInformation()总是返回null 我如何在metro应用程序中使用ftp服务器 metro应用程序的任何专家

在Metro应用程序中,我想将文件从ftp服务器下载到本地

我尝试使用Windows.Networking.BackgroundTransfer命名空间,并使用了以下代码: DownloadOperation download=downloader.CreateDownload(ftpsource,destinationFile)

但是方法download.GetResponseInformation()总是返回null

我如何在metro应用程序中使用ftp服务器


metro应用程序的任何专家都能完全回答这个问题吗?

我对WinRT的新功能不太熟悉,但从我所知道的,BackgroundTransfer命名空间中的类是用于web服务和HTTP传输的,而不是FTP


您可以参考System.Net.FtpWebRequest/FtpWebResponse吗?

对不起,David,但是在WinRT中没有像FptResponse或FptWebRequest这样的名称空间。有人能帮忙吗???