使用ASIHTTPRequest从服务器下载文件夹

时间:2013-03-28 21:59:31

标签: iphone ios asihttprequest

是否可以使用ASIHTTPRequest从服务器下载整个文件夹?如果没有,我可以压缩文件夹并下载它。根据我的阅读,ASIHTTPRequest将解压缩压缩文件。我试过了,但似乎无法让它发挥作用。我不确定我是否正确设置路径。

ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:urlOfFolder;
[request setDownloadDestinationPath:[NSString stringWithFormat:@"%@/%@", documentsDirectory, @"download_folder"]];

0 个答案:

没有答案
相关问题