Looking for a FTP framework
Looking for a FTP framework
- Subject: Looking for a FTP framework
- From: David Alter <email@hidden>
- Date: Tue, 10 Aug 2010 16:15:11 -0700
I'm adding FTP support to a Mac application. It actually needs to support
SFTP. I need to support upload and downloading. If a connection is dropped I
need to be able to re-establish a connection and finish the operation.
It looks like there are some choices out there and I wanted to see what
people where suggesting. Here are the choices I have come across.
1) I have seen some information about ConnectionKit. It looks like this was
written back in 2007. The original open source project appears to have
vanished. However it looks like it was resurrected as a iOS framework.
Sounds like it was well supported back in 2007. I'm wondering if it is still
a good solution. I'm thinking changing it to work on the Mac would not be
that hard to do. Here is where the project is hosted connectionkit -
Project Hosting on Google Code <http://code.google.com/p/connectionkit/>
2) Use the CFNetwork APIs. It appears that Apple has some examples to look
at for this. I thought they might be a good starting point. One is dated
back to 10.3 days. It looks like a good example but I was unable to make it
upload a file to my FTP server. That example can be found at
CFFTPSample<http://developer.apple.com/mac/library/samplecode/CFFTPSample/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003223-Intro-DontLinkElementID_2>
Then Apple has also provided an example for iOS. That one looks good too. I
was unable to build it because I have not installed the 4.0 SDK. That
example can be found at
SimpleFTPSample<http://developer.apple.com/iphone/library/samplecode/SimpleFTPSample/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009243-Intro-DontLinkElementID_2>
3) Then there is always CURL.
I need to provide a solution for this. The FTP is a very small part of the
Application. I would like to find something easy to get implemented. I'm
interested in what other people are doing.
Thank you for the help
-dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden