FTPKit icon indicating copy to clipboard operation
FTPKit copied to clipboard

Doesn't support anonymous FTP

Open parsley72 opened this issue 10 years ago • 1 comments

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?

parsley72 avatar Feb 04 '15 23:02 parsley72

Ah, this works:

FTPClient *client = [FTPClient clientWithHost:@"localhost" port:21 username:@"anonymous" password:@""];

Would be good to hardcode the username "anonymous" if nil is passed then mention this in the readme.

parsley72 avatar Feb 05 '15 00:02 parsley72