你好,我有这个代码,不要下载任何东西......
FTPHelper *ftp;
ftp.urlString = @"ftp.marignal.com";
ftp.uname = @"whttpapp.marignal.com";
ftp.pword = @"hidden";
ftp.filePath = @"Barcos/Imagenes";
[ftp download:@"catlanza.bmp"];
我正在使用这个lib:https://github.com/erica/iphone-3.0-cookbook-/tree/master/C13-Networking/15-FTP%20Helper
该方法下载,假设将所选文件安装在Documents目录中......
答案 0 :(得分:0)
在模拟器中查找它复制到的路径。
可能你需要处理文件: ftp.filePath = @“Documents / Barcos / Imagenes”;
或以编程方式获取路径: What is the documents directory (NSDocumentDirectory)?