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?