ConnectionKit 为 Cocoa 应用提供了基于 Block 的 API 实现异步的 FTP、SFTP 和 WebDAV 服务端以及本地文件操作。
特性:
Use of blocks for simple completion and error-handling
URLs replace paths throughout the API
Management of raw connections is hidden behind the scenes, handling multiple connections and re-connections for you
Same authentication workflow as NSURLSession and friends
NSURLSession
No longer tied to the main thread
libcurl is used for FTP, instead of custom implementation
NSURLConnection (via DAVKit) is used for WebDAV, instead of custom HTTP stack
NSURLConnection
libssh2 (via libcurl) is used for SFTP, instead of calling out to the command-line sftp program
sftp