iPhone 的最佳 FTP Objective-C 包装器 [英] Best FTP Objective-C wrapper for iPhone

查看:27
本文介绍了iPhone 的最佳 FTP Objective-C 包装器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您使用基于 C 的网络 API 进行 FTP 通信,但我更喜欢使用更高级别的东西.我见过一些基于 Objective-C 的包装器,但我不确定该使用什么.我不需要复杂的 FTP 交互.它只是典型的创建/删除目录、上传/下载文件...您有什么建议?

I know you use the C based networking API to do FTP communication but I'd prefer to use something a little higher level. I've seen a few Objective-C based wrappers but I'm not sure what to use. I don't need that complex of FTP interaction. Its just the typical create/delete dirs, upload/download files... What do you recommend?

这是一个看起来很有希望但我无法为 iPhone SDK 编译它ConnectionKit

Here is one that looks promising but I can't get it to compile for the iPhone SDK The ConnectionKit

推荐答案

在没有找到任何好用的方法后,我决定继续按照 Apple 的关于如何进行 FTP 的教程进行操作.它肯定是 PITA,但至少它确实有效.我会在我的应用程序的第一个版本中坚决支持 WebDAV,最终可能会在以后支持一些其他传输方法.我想在我得到 FTP & 之后我会考虑发布这个开源的.WebDAV 运行良好,因为如今您没有理由不得不做这么多低级工作来完成像 FTP 这样基本且模棱两可的任务.

After not finding anything that works well I decided I'd go ahead and follow Apple's tutorial on how to do FTP. It sure is a PITA but at least it does work. I'm defiantly going to support WebDAV in the first revision my app, and eventually perhaps some other transfer methods later on. I think I'm going to consider releasing this open source after I get FTP & WebDAV working good, since there is no reason why you should have to do this much low level work to do such a basic and ambiguous task as FTP these days.

这篇关于iPhone 的最佳 FTP Objective-C 包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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