Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

FTP/SFTP/WebDAV etc. for Cocoa. Join the ConnectionKit mailing list for information and suggestions.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Connection.xcodeproj
Octocat-spinner-32 Example
Octocat-spinner-32 da.lproj
Octocat-spinner-32 de.lproj
Octocat-spinner-32 en.lproj
Octocat-spinner-32 fr.lproj
Octocat-spinner-32 it.lproj
Octocat-spinner-32 ja.lproj
Octocat-spinner-32 unit test
Octocat-spinner-32 zh_CN.lproj
Octocat-spinner-32 zh_TW.lproj
Octocat-spinner-32 AbstractConnectionProtocol.h
Octocat-spinner-32 AquaFolder.png
Octocat-spinner-32 CKAbstractConnection.h
Octocat-spinner-32 CKAbstractConnection.m
Octocat-spinner-32 CKAbstractQueueConnection.h
Octocat-spinner-32 CKAbstractQueueConnection.m
Octocat-spinner-32 CKBonjourCategory.h
Octocat-spinner-32 CKBonjourCategory.m
Octocat-spinner-32 CKBookmarkStorage.h
Octocat-spinner-32 CKBookmarkStorage.m
Octocat-spinner-32 CKCacheableHost.h
Octocat-spinner-32 CKCacheableHost.m
Octocat-spinner-32 CKCollectionBasedBookmarkController.h
Octocat-spinner-32 CKCollectionBasedBookmarkController.m
Octocat-spinner-32 CKConnectionClient.h
Octocat-spinner-32 CKConnectionClient.m
Octocat-spinner-32 CKConnectionClientProtocol.h
Octocat-spinner-32 CKConnectionOpenPanel.h
Octocat-spinner-32 CKConnectionOpenPanel.m
Octocat-spinner-32 CKConnectionProtocol.h
Octocat-spinner-32 CKConnectionRegistry.h
Octocat-spinner-32 CKConnectionRegistry.m
Octocat-spinner-32 CKConnectionRequest.h
Octocat-spinner-32 CKConnectionRequest.m
Octocat-spinner-32 CKConnectionThreadManager.h
Octocat-spinner-32 CKConnectionThreadManager.m
Octocat-spinner-32 CKController.h
Octocat-spinner-32 CKController.m
Octocat-spinner-32 CKDAVCreateDirectoryRequest.h
Octocat-spinner-32 CKDAVCreateDirectoryRequest.m
Octocat-spinner-32 CKDAVCreateDirectoryResponse.h
Octocat-spinner-32 CKDAVCreateDirectoryResponse.m
Octocat-spinner-32 CKDAVDeleteRequest.h
Octocat-spinner-32 CKDAVDeleteRequest.m
Octocat-spinner-32 CKDAVDeleteResponse.h
Octocat-spinner-32 CKDAVDeleteResponse.m
Octocat-spinner-32 CKDAVDirectoryContentsRequest.h
Octocat-spinner-32 CKDAVDirectoryContentsRequest.m
Octocat-spinner-32 CKDAVDirectoryContentsResponse.h
Octocat-spinner-32 CKDAVDirectoryContentsResponse.m
Octocat-spinner-32 CKDAVResponse.h
Octocat-spinner-32 CKDAVResponse.m
Octocat-spinner-32 CKDAVUploadFileRequest.h
Octocat-spinner-32 CKDAVUploadFileRequest.m
Octocat-spinner-32 CKDAVUploadFileResponse.h
Octocat-spinner-32 CKDAVUploadFileResponse.m
Octocat-spinner-32 CKDirectoryBrowserCell.h
Octocat-spinner-32 CKDirectoryBrowserCell.m
Octocat-spinner-32 CKDirectoryNode.h
Octocat-spinner-32 CKDirectoryNode.m
Octocat-spinner-32 CKDirectoryTreeController.h
Octocat-spinner-32 CKDirectoryTreeController.m
Octocat-spinner-32 CKDotMacConnection.h
Octocat-spinner-32 CKDotMacConnection.m
Octocat-spinner-32 CKFTPCommand.h
Octocat-spinner-32 CKFTPCommand.m
Octocat-spinner-32 CKFTPConnection.h
Octocat-spinner-32 CKFTPConnection.m
Octocat-spinner-32 CKFTPOverSSLConnection.h
Octocat-spinner-32 CKFTPOverSSLConnection.m
Octocat-spinner-32 CKFTPReply.h
Octocat-spinner-32 CKFTPReply.m
Octocat-spinner-32 CKFileConnection.h
Octocat-spinner-32 CKFileConnection.m
Octocat-spinner-32 CKHTTPConnection.h
Octocat-spinner-32 CKHTTPConnection.m
Octocat-spinner-32 CKHTTPFileDownloadRequest.h
Octocat-spinner-32 CKHTTPFileDownloadRequest.m
Octocat-spinner-32 CKHTTPFileDownloadResponse.h
Octocat-spinner-32 CKHTTPFileDownloadResponse.m
Octocat-spinner-32 CKHTTPPutRequest.h
Octocat-spinner-32 CKHTTPPutRequest.m
Octocat-spinner-32 CKHTTPRequest.h
Octocat-spinner-32 CKHTTPRequest.m
Octocat-spinner-32 CKHTTPResponse.h
Octocat-spinner-32 CKHTTPResponse.m
Octocat-spinner-32 CKHost.h
Octocat-spinner-32 CKHost.m
Octocat-spinner-32 CKHostCategory.h
Octocat-spinner-32 CKHostCategory.m
Octocat-spinner-32 CKHostCell.h
Octocat-spinner-32 CKHostCell.m
Octocat-spinner-32 CKInternalTransferRecord.h
Octocat-spinner-32 CKInternalTransferRecord.m
Octocat-spinner-32 CKLeopardSourceListTableColumn.h
Octocat-spinner-32 CKLeopardSourceListTableColumn.m
Octocat-spinner-32 CKMultipleConnection.h
Octocat-spinner-32 CKMultipleConnection.m
Octocat-spinner-32 CKS3Connection.h
Octocat-spinner-32 CKS3Connection.m
Octocat-spinner-32 CKSFTPConnection.h
Octocat-spinner-32 CKSFTPConnection.m
Octocat-spinner-32 CKSFTPTServer.h
Octocat-spinner-32 CKSFTPTServer.m
Octocat-spinner-32 CKSSHPassphrase.h
Octocat-spinner-32 CKSSHPassphrase.m
Octocat-spinner-32 CKSecureHTTPConnection.h
Octocat-spinner-32 CKSecureHTTPConnection.m
Octocat-spinner-32 CKStreamBasedConnection.h
Octocat-spinner-32 CKStreamBasedConnection.m
Octocat-spinner-32 CKTableBasedBrowser.h
Octocat-spinner-32 CKTableBasedBrowser.m
Octocat-spinner-32 CKTransferController.h
Octocat-spinner-32 CKTransferController.m
Octocat-spinner-32 CKTransferProgressCell.h
Octocat-spinner-32 CKTransferProgressCell.m
Octocat-spinner-32 CKTransferRecord.h
Octocat-spinner-32 CKTransferRecord.m
Octocat-spinner-32 CKURLProtectionSpace.h
Octocat-spinner-32 CKURLProtectionSpace.m
Octocat-spinner-32 CKWebDAVConnection.h
Octocat-spinner-32 CKWebDAVConnection.m
Octocat-spinner-32 CKWebDAVSecureConnection.h
Octocat-spinner-32 CKWebDAVSecureConnection.m
Octocat-spinner-32 Connection-Info.plist
Octocat-spinner-32 Connection.h
Octocat-spinner-32 Connection.svxSite
Octocat-spinner-32 ConnectionTest.h
Octocat-spinner-32 ConnectionTest.m
Octocat-spinner-32 Connection_Prefix.pch
Octocat-spinner-32 DropletController.h
Octocat-spinner-32 DropletController.m
Octocat-spinner-32 DropletHelper-Info.plist
Octocat-spinner-32 DropletIcon.icns
Octocat-spinner-32 DropletLauncher.m
Octocat-spinner-32 DropletMain.m
Octocat-spinner-32 DropletOutlineView.h
Octocat-spinner-32 DropletOutlineView.m
Octocat-spinner-32 DropletPanel.h
Octocat-spinner-32 DropletPanel.m
Octocat-spinner-32 EMKeychainItem.h
Octocat-spinner-32 EMKeychainItem.m
Octocat-spinner-32 EMKeychainProxy.h
Octocat-spinner-32 EMKeychainProxy.m
Octocat-spinner-32 Framework Debug.xcconfig
Octocat-spinner-32 Framework Release.xcconfig
Octocat-spinner-32 Framework-Info.plist
Octocat-spinner-32 InterThreadMessaging.h
Octocat-spinner-32 InterThreadMessaging.m
Octocat-spinner-32 KTLog.h
Octocat-spinner-32 KTLog.m
Octocat-spinner-32 LeopardFolder.tiff
Octocat-spinner-32 NNTPConnection.h
Octocat-spinner-32 NNTPConnection.m
Octocat-spinner-32 NSArray+Connection.h
Octocat-spinner-32 NSArray+Connection.m
Octocat-spinner-32 NSCalendarDate+Connection.h
Octocat-spinner-32 NSCalendarDate+Connection.m
Octocat-spinner-32 NSData+Connection.h
Octocat-spinner-32 NSData+Connection.m
Octocat-spinner-32 NSDictionary+Connection.h
Octocat-spinner-32 NSDictionary+Connection.m
Octocat-spinner-32 NSFileManager+Connection.h
Octocat-spinner-32 NSFileManager+Connection.m
Octocat-spinner-32 NSMatrix+Connection.h
Octocat-spinner-32 NSMatrix+Connection.m
Octocat-spinner-32 NSNumber+Connection.h
Octocat-spinner-32 NSNumber+Connection.m
Octocat-spinner-32 NSObject+Connection.h
Octocat-spinner-32 NSObject+Connection.m
Octocat-spinner-32 NSPopUpButton+Connection.h
Octocat-spinner-32 NSPopUpButton+Connection.m
Octocat-spinner-32 NSString+Connection.h
Octocat-spinner-32 NSString+Connection.m
Octocat-spinner-32 NSTabView+Connection.h
Octocat-spinner-32 NSTabView+Connection.m
Octocat-spinner-32 NSURL+Connection.h
Octocat-spinner-32 NSURL+Connection.m
Octocat-spinner-32 ONBSSLContext.h
Octocat-spinner-32 ONBSSLContext.m
Octocat-spinner-32 ONBSSLIdentity.h
Octocat-spinner-32 ONBSSLIdentity.m
Octocat-spinner-32 ONBSocket.h
Octocat-spinner-32 ONBSocket.m
Octocat-spinner-32 README
Octocat-spinner-32 RegexKitLite.h
Octocat-spinner-32 RegexKitLite.m
Octocat-spinner-32 ReleaseNotes.txt
Octocat-spinner-32 RunLoopForwarder.h
Octocat-spinner-32 RunLoopForwarder.m
Octocat-spinner-32 SSLStream.h
Octocat-spinner-32 SSLStream.m
Octocat-spinner-32 UKFNSubscribeFileWatcher.h
Octocat-spinner-32 UKFNSubscribeFileWatcher.m
Octocat-spinner-32 UKFileWatcher.h
Octocat-spinner-32 UKFileWatcher.m
Octocat-spinner-32 UKKQueue Readme.txt
Octocat-spinner-32 UKKQueue.h
Octocat-spinner-32 UKKQueue.m
Octocat-spinner-32 UKKQueue_Symbols
Octocat-spinner-32 UKMainThreadProxy.h
Octocat-spinner-32 UKMainThreadProxy.m
Octocat-spinner-32 UnitTest-Info.plist
Octocat-spinner-32 argcargv.c
Octocat-spinner-32 argcargv.h
Octocat-spinner-32 bonjour.png
Octocat-spinner-32 bookmark.tif
Octocat-spinner-32 browser_resizer.tiff
Octocat-spinner-32 channel.c
Octocat-spinner-32 column_mode.tiff
Octocat-spinner-32 comp.c
Octocat-spinner-32 container_triangle.tiff
Octocat-spinner-32 container_triangle_selected.tiff
Octocat-spinner-32 crypt.c
Octocat-spinner-32 error.png
Octocat-spinner-32 fdwrite.c
Octocat-spinner-32 fdwrite.h
Octocat-spinner-32 finished.png
Octocat-spinner-32 gear.tiff
Octocat-spinner-32 gear_disabled.tiff
Octocat-spinner-32 gear_normal.tiff
Octocat-spinner-32 gear_pressed.tiff
Octocat-spinner-32 history_back.tiff
Octocat-spinner-32 history_forward.tiff
Octocat-spinner-32 host.png
Octocat-spinner-32 hostkey.c
Octocat-spinner-32 icon_mode.tiff
Octocat-spinner-32 kex.c
Octocat-spinner-32 libssh2.h
Octocat-spinner-32 libssh2_config.h
Octocat-spinner-32 libssh2_priv.h
Octocat-spinner-32 libssh2_publickey.h
Octocat-spinner-32 libssh2_sftp.h
Octocat-spinner-32 list_mode.tiff
Octocat-spinner-32 mac.c
Octocat-spinner-32 main.m
Octocat-spinner-32 misc.c
Octocat-spinner-32 openssl.c
Octocat-spinner-32 openssl.h
Octocat-spinner-32 packet.c
Octocat-spinner-32 pem.c
Octocat-spinner-32 publickey.c
Octocat-spinner-32 scp.c
Octocat-spinner-32 session.c
Octocat-spinner-32 sftp.c
Octocat-spinner-32 sshversion.c
Octocat-spinner-32 sshversion.h
Octocat-spinner-32 userauth.c
Octocat-spinner-32 version.plist
README
Notes on Using the Connection Framework

BRANCHES

Please consider carefully which branch you are going to use.   There are several branches that are not unified yet.

LICENSING

This framework is BSD-licensed.  It contains several other embedded bits of code so they should be acknowledged too.  This is what we believe to be an appropriate set of acknowledgements:

ConnectionKit (Greg Hulands et al.) <https://github.com/karelia/ConnectionKit/>
The Connection framework is © 2005-2007, Greg Hulands et al. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
•	Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
•	Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
•	Neither the name of Greg Hulands nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ConnectionKit uses SFTP code based on Fugu <http://rsug.itd.umich.edu/software/fugu/>
Copyright © 2003-2007 Regents of The University of Michigan. All Rights Reserved. 
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of The University of Michigan not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. This software is supplied as is without expressed or implied warranties of any kind.

FTPConnection, part of ConnectionKit, makes use of

Toby Paterson's InterThreadMessaging <http://www.cocoadev.com/index.pl?InterThreadMessaging>

and

Aaron Jacobs' OneButtonSocket <http://onebutton.org/>
OneButtonSocket is licensed under the following terms:
“This code derives from Aaron Jacobs' OneButton Socket, which was at the time of writing normally licensed under the terms of the GNU General Public License. You can find the "standard" version in the CVS repository of OneButton FTP (www.onebutton.org). 
The SPECIFIC INCARNATION of OneButton Socket upon which this code is based was specially distributed to Greg Hulands on 2006-01-05 under the terms of a modified BSD-style license rather than the GPL. This does not indicate that any other version of OneButton Socket is or will be distributed under any license but the GPL.
Copyright © 2005, Aaron Jacobs. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
•	Redistributions of source code must retain the above two paragraph note about licensing of OneButton Socket, the above copyright notice, this list of conditions and the following disclaimer.
•	Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
•	Neither the name of Aaron Jacobs nor the names of OneButton Socket or OneButton FTP may be used to endorse or promote products derived from this software without specific prior written permission from Aaron Jacobs.
THIS SOFTWARE IS PROVIDED BY AARON JACOBS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AARON JACOBS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Thanks to Dustin Voss and his public domain AsyncSocket class for both the inspiration for this class and its method of listening for connections and handling communication with a delegate.”




Something went wrong with that request. Please try again.