Git Product home page Git Product logo

ftpkit's People

Contributors

peqnp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ftpkit's Issues

Doesn't work in iOS earlier than 7

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?

FTPKit is not thread-safe

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.

Path handles in a different ways in FTPHandle initializers

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?

Returning error on uploading file.

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

Cannot archive - 'FTPKit/FTPKit.h file not found'

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

Doesn't support anonymous FTP

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.