views:

1924

answers:

2

Hi, I had the following questions related to downloading the file from the server.

a) Is it possible to download directly the GZIP (Compressed)file to the iphone device using IPHONE SDK. b) If the compressed file can be downloaded , then how to uncompress it(using ZLIB or else...).

Thank u.

A: 

Not at all sure about this, but if its http encoded with gzip, then that may well be auto-unzipped for you - as part of the http protocol - a guess and would need to be tested. Also may not be appropriate for your situation.

Chris Kimpton
+1  A: 

Also, seems like this overlaps with several other similar questions:

http://stackoverflow.com/questions/230984/compression-api-on-the-iphone

Chris Kimpton