Reputation: 2506
my app checks a website for some files with simple NSURLConnection
Method. Now I want to recognize if one of the files has changed without downloading the file and compare it.
I thought about md5 checksums but how can I do this without wasting traffic downloading the whole file.
Do you have any ideas for this?
Upvotes: 0
Views: 129
Reputation: 2281
Check the timestamp on the file. That should be easier then using md5 checksums. I don't know how your app or or server API is implemented but the idea is pretty straightforward:
Upvotes: 2