Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best FTP Objective-C wrapper for iPhone

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?

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

like image 233
jamone Avatar asked Jan 19 '26 10:01

jamone


2 Answers

This may help, but you may reconsider design for reasons stated by bbum:

http://code.google.com/p/s7ftprequest/

like image 68
Corey Floyd Avatar answered Jan 22 '26 08:01

Corey Floyd


The reason why you can't find much in the way of useful FTP client software is because FTP isn't used much any more and is generally actively discouraged from use.

Without great care, it is quite easy to create big old security holes when using FTP (when I ran a consulting company, the 3 times we had infected machines were all because of FTP server security holes or exploits -- one time, the damned HP copier's FTP server was the attack vector!).

FTP is also inefficient unless carefully configured.

I would encourage you to use an HTTP based protocol. WebDAV allows you to do basically anything FTP can do, but does so over an HTTP channel. Thus, it'll work through proxies and the like. Heck -- HTTP has become so ubiquitous that pretty much everything works with HTTP.

And, of course, there are plenty of good HTTP client APIs built for Objective-C.

Obviously, if FTP is a requirement for your project, this answer won't help you much....

like image 45
bbum Avatar answered Jan 22 '26 09:01

bbum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!