开发者

Compress Document folder in application sandbox of iphone

I need to compress the Documents folder in the application sandbox and upload the compressed file to a server. I've been able 开发者_如何学Pythonto send files from iphone to the server, but am stuck in regards to compressing the folder. I'm using the ASIHTTPRequest libraries for connecting to the server.

Any body can point me to the right direction. I'd be highly grateful.

Thanks in advance

Nik


You can't alter the Documents folder itself because you don't have permission. However, you can compress files inside it. I pretty sure you can use the command line zlib to do the actual compression. Use NSTask to run it from the apps code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜