Compact Framework - OpenNetCf.Net FTP Samples?

删除回忆录丶 提交于 2019-12-09 04:55:17

问题


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.


回答1:


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.




回答2:


This looks like the answer:

http://community.opennetcf.com/competition/folders/opennetcfnetftp/entry64583.aspx



来源:https://stackoverflow.com/questions/352214/compact-framework-opennetcf-net-ftp-samples

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!