作者:手机用户2502886253 | 来源:互联网 | 2023-01-31 18:51
IsitpossibletodownloadanentirefolderoffilesfrommyservertotheusersiPhoneratherthan
Is it possible to download an entire folder of files from my server to the user's iPhone rather than just one file at a time?
是否可以从我的服务器将整个文件夹下载到用户的iPhone而不是一次只下载一个文件?
Also, is the NSURLConnection class the way to go?
另外,NSURLConnection类是要走的路吗?
Also, should I be using an HTTP path or an ftp path? (I've gotten the download of a single file to work with the HTTP, but don't know how to with the ftp or even if I should bother.
另外,我应该使用HTTP路径还是ftp路径? (我已经下载了单个文件来处理HTTP,但不知道如何使用ftp,或者即使我应该打扰。
I'm trying to implement the StoreKit and I understand that after I get payment verification, it is my responsibility to provide the additional content to the user's iPhone. That's the part I'm currently stuck on - downloading that content from my server.
我正在尝试实施StoreKit,我知道在收到付款验证后,我有责任向用户的iPhone提供其他内容。这是我目前坚持的部分 - 从我的服务器下载该内容。
The reason for my request is that I must download a large number of files (which is a variable number of files) and it would be vastly easier if I could just specify the path to the folder and download that folder and everything in it intact.
我的请求的原因是我必须下载大量文件(这是一个可变数量的文件),如果我只能指定文件夹的路径并下载该文件夹及其中的所有内容,那将会非常容易。
Any help would be very appreciated.
任何帮助将非常感激。
1 个解决方案