peqnp / ftpkit Goto Github PK
View Code? Open in Web Editor NEWAn Objective-C lib that provides client side facilities for FTP.
License: MIT License
An Objective-C lib that provides client side facilities for FTP.
License: MIT License
好像快解决了 等我解决了会更新给大家
Error Domain=FTPKit Code=10060 "Cannot connect to remote server
I tried to upload a file from my device. Its returning the error "227 Entering passive mode". Tried the same with FileZilla and it worked fine.
Please help.
Thanks in advance
You have tests which expect local ftp running. Please upload it's content so we could run tests too
Hi Eric,
I worked according to the procedure of integration.
Clean and build in advance, the archive was tried for iOS7.1, but it became a 'FTPKit/FTPKit.h file not found' error.
FTPKitSample Project was not able to be archived in the same error.
Thanks for your work !
Hiroki
Take a look
- (instancetype)initWithPath:(NSString *)aPath attributes:(NSDictionary *)aAttributes {
// ...
self.name = [aAttributes objectForKey:(id)kCFFTPResourceName];
self.path = [aPath stringByAppendingPathComponent:name];
and
- (instancetype)initWithPath:(NSString *)aPath type:(FTPHandleType)aType {
// ...
self.name = [aPath lastPathComponent];
self.path = aPath;
So the former is about folder path, the latter — filepath.
Strange, isn't it?
If I try using FTPKit in iOS5 I get a crash in [FTPClient setQueue]:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x661af48d)
Has anyone else tried using the library in earlier versions of iOS when building against the 8.2 SDK?
I cannot connect my server?
FTPClient *client=[FTPClient clientWithHost:@"myip" port:20000 username:@"anonymous" password:nil];
更改端口号之后一直提示cannect connect remote service
更改端口号之后一直提示cannect connect remote service
更改端口号之后一直提示cannect connect remote service
I've tried:
FTPClient *client = [FTPClient clientWithHost:@"localhost" port:21 username:@"" password:@""];
and:
FTPClient *client = [FTPClient clientWithHost:@"localhost"port:21 username:nil password:nil];
but neither of these appear to work. Are anonymous servers supported?
I want to switch FTP pattern at any time, passive or active, please provide an API, thank you!
The FTPKit can work CoCoa for OSX?
E.g. if you ask for a file list of some remote directory simultaneously from two threads, FTPKit will download that list to a FTPKit.list file in the temporary directory and, most likely, one of two fetch will fail.
looks like it used only in urlForPath:
which is never used
modified
date field of any FTPHandle *
returned by listContentsAtPath:showHiddenFiles:
does not match the date returned by lastModifiedAtPath:
called with path
of that FTPHandle
progress not implement?
@PeqNP What would be the easiest way to implement a command to cancel a FTP request? I tried making a stackoverflow question for this: http://stackoverflow.com/questions/43284819/ftpkit-abort-cancel-ftp-operation, however it seems as if this is too specific of an issue to ask there.
What are your suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.