Uploading multiple files to FTP via AFNetworking

2019-07-27 01:45发布

So i'm new to objective-c and programming at all ), and i'm trying to understand how to download/upload multiple files to FTP. I started with SimpleFTPSample, but everybody says, that using AFNetworking is much simplier, so how i can upload 2 txt files to FTP using AFNetworking. I found only information about sending to http. Thanks for any help!

1条回答
别忘想泡老子
2楼-- · 2019-07-27 01:59

The problem is, basically you can't.

AFNetworking is pretty much HTTP(S) only - no support for FTP. It's not apparent from the name, but if you look over here: https://github.com/AFNetworking/AFNetworking#overview it gets pretty clear.

So you might have to use SimpleFTPSample or check this: https://github.com/nkreipke/FTPManager

查看更多
登录 后发表回答