Download the file with okHTTP, save the file to disc, compare whatever you want.
I suggest using a php-script in between which will return the content of the file after it get called by a okHTTPjob.
In JobDone you then can get the content and compare it to a local filecontent.