title: Wget - Overwrite files that are different
body: <p>So, I'm making an updater for my game using wget. The latest version of the game (with all it's files), is on my server. The thing is that I want wget to download only the files that are different from a directory on the server into the <code>www</code> folder in the root of the game files (This has to be recursive, since not all of the game's files are stored directly in that folder). So, when the command is being ran it should check to see if the file's hashsum (if possible, otherwise it should check the size) on the server matches the one in the game's files. If it doesn't, it should download the file from the server and replace the one in the game's directory. This way, the player won't have to re-download all of the game's files.</p>
  
  <p>Here's the command I used for testing:</p>
  
  <pre><code>wget.exe -N -r ftp://10.42.0.1/gamupd/arpg -O ./www
  </code></pre>
  
  <p>The server is running on my local network, so I use that IP address.
  The thing is that it doesn't save the contents of <code>/gamupd/arpg</code> to the <code>www</code> folder, instead it seems to copy the directory tree of <code>arpg</code>.</p>