Compare filedate before download it

Posted by Christian on Stack Overflow See other posts from Stack Overflow or by Christian
Published on 2010-05-12T14:40:56Z Indexed on 2010/05/12 14:44 UTC
Read the original article Hit count: 177

Filed under:

Hi,

I have an app which is downloading several plist-files when starting the app and storing them in the NSHomeDirectory/Documents/ path. This will take some time and often there is only one file that changed.

My questions are: -how can I get the date of the files (the stored one and the file on my webserver)? -how can I compare the date of the stored file with the date of the file on my webserver?

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0