title: Comparing local file with remote file
body: <p>I have the following problem: I have a local <code>.zip</code> file and a <code>.zip</code> file located on a server. I need to check if the <code>.zip</code> file on the server is different from the local one; if they are not I need to pull the new one from the server. My question is how do I compare them without downloading the file from the server and comparing them locally?</p>
  
  <p>I could create an MD5 hash for the zip file on the server when creating the <code>.zip</code> file and then compare it with the MD5 of my local <code>.zip</code> file, but is there a simpler way?</p>