Dan Wood: The Eponymous Weblog (Archives)

Dan Wood Dan Wood is co-owner of Karelia Software, creating programs for the Macintosh computer. He is the father of two kids, lives in the Bay Area of California USA, and prefers bicycles to cars. This site is his older weblog, which mostly covers geeky topics like Macs and Mac Programming. Go visit the current blog here.

Useful Tidbits and Egotistical Musings from Dan Wood

Categories: Business · Mac OS X · Cocoa Programming · General · All Categories

Sat, 07 Apr 2007

ConnectionKit

ConnectionKit Yesterday, I ran across a glowing review of ConnectionKit, the Cocoa open-source framework used for transfer that handles FTP, FTP over SSL, SFTP, .mac, WebDAV, secure WebDAV, the file system, S3, and NNTP. This is a framework that Greg Hulands started quite a while ago, initially for FTP only, but it has grown into an extremely useful and powerful kit!

I wanted to follow up just to try to make sure that as many cocoa developers know about this framework. We use some but not all of the protocols listed here in Sandvox, and the connection kit is used in several applications as well, either shipping or in beta/development.

The framework is extremely useful. I had done some research on what our options were for Sandvox when we started developing it, and there aren't many alternatives, if any. One of the best things about this is that the different connection methods share a common interface, so whether you are uploading to SFTP or just exporting to the file system, you use the same code to accomplish it. It also has operations like delete remote file that you can't find if you used Apple's APIs.

What's the state of the framework? Well it has had some growing pains, but I think it's in a good state now, at least the protocols of FTP, SFTP, WebDAV/.mac, and file system; the other protocols may or not be ready for prime time since we haven't tried integrating things yet. We've had some recent issues with CKTransferController, a high-level UI component for managing multiple uploads, used by Sandvox (and probably no other application) but most of those issues are resolved now.

Of course the nice thing about an open-source framework is that, well, you have the source to it, and if you find shortcomings, you can fix them and give back to the community. You can contribute updates/fixes to Greg, or even to me if need be since I have commit privileges.

Visit the ConnectionKit website!