紧凑框架 - OpenNetCf.Net FTP 示例?
我正在尝试让 OpenNetCF.Net FTP 组件与我的 PDA 应用程序一起工作。 除了连接到服务器之外,我正在努力让它做更多的事情,并且想知道是否有人知道我可以用来学习如何使用它的任何示例代码?
我需要能够下载和上传文件,以及确定我想要下载的任何文件的下载大小。
提前致谢。
I am trying to get the OpenNetCF.Net FTP Components working with my PDA application. I am struggling to get it doing any more than connecting to the server and wondered if anyone knew of any sample code I could use to learn how to use it with?
I need to be able to download and upload files, as well as determining the download size of any files that I wish to download.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不喜欢 OpenNETCF.Net.FTP 命名空间中的类(智能设备框架中的类)。 它们基于流,就像完整的框架版本一样(这就是我们这样做的原因),但我发现用法很混乱(尽管任何桌面 FTP 示例都应该作为基础)。 我根据 RFC 编写了一个完整的 FTP 类集,但我发现它的对象模型更加直观位于 OpenNETCF 社区论坛中。 带有完整的源代码。
I don't like the classes in the OpenNETCF.Net.FTP namespace (the ones in the Smart Device Framework). They're based on streams just like the full framework version (which is why we did them that way) but I find usage to be confusing (though any desktop FTP sample should work as a basis). I wrote a complete FTP set of classes from the RFC but with an object model that I find far more intuitive that is in the OpenNETCF Community Forums. Comes with full source.
这看起来像答案:
http://community.opennetcf.com/competition/文件夹/opennetcfnetftp/entry64583.aspx
This looks like the answer:
http://community.opennetcf.com/competition/folders/opennetcfnetftp/entry64583.aspx