The iOS component to connect to a FTP service and perform the operations you need.
GoldRaccoon is the iOS component to connect to a FTP service and do the following:
First, because the humanity needs it.
This project started on 29/06/2013 for the Objective-C Hackathon (http://objectivechackathon.appspot.com/).
GoldRaccoon aims to be an evolution of BlackRaccoon (which is an evolution of WhiteRaccoon), maybe the best (or at least one of the few) third-party component out there for handling FTP operations on iOS.
I forked the public repo of BlackRaccooon in May 2013 and added some improvements that have been merged into master to BlackRaccoon. Even though BlackRaccoon does what it says, I prefer to clean it a little and use a different and more extensible code structure.
Most of the code is therefore written by Valentin Radu and Lloyd Sargent, the main extensions I (Alberto De Bortoli) added are:
If you'd like to include this component as a pod using CocoaPods, just add the following line to your Podfile:
pod "GoldRaccoon"
otherwise
GRRequestsManager.h
in your class@property (nonatomic, strong) GRRequestsManager *requestsManager;
self.requestsManager = [[GRRequestsManager alloc] initWithHostname:<hostname>
user:<username>
password:<password>];
GRRequestsManagerDelegate
, implement the delegate methods (basically success, failure and progress callbacks) and set your instance of this class as delegate for the managerself.requestsManager.delegate = self;
addRequestForListDirectoryAtPath:
addRequestForCreateDirectoryAtPath:
addRequestForDeleteFileAtPath:
addRequestForDeleteDirectoryAtPath:
addRequestForDownloadFileAtRemotePath:toLocalPath:
addRequestForUploadFileAtLocalPath:toRemotePath:
[self.requestsManager startProcessingRequests];