Uploading multiple files to FTP via AFNetworking

限于喜欢 提交于 2019-12-13 18:09:40

问题


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:


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



来源:https://stackoverflow.com/questions/14471721/uploading-multiple-files-to-ftp-via-afnetworking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!