This is a typical situation. I have been trying to find a tool that can solve a problem I have of syncronizing my web files properly. Without any luck. Until today. And the worst part: The solution was already installed as part of windows and has been that way for ages.
Enter Robocopy.
This is a command line file copier that as standard copares files in two directories and copies newer files over. Recursively as well. Nothing revolutionary in this. But here comes the good parts: It can purge extra files for you - typically web pages not used anymore. It can also save your parameters to a job that can be rerun. Very practical for automated builds.
So is there something this wonder cannot do? Yes... Do the sync over FTP. That would be nice. Maybe there is some other tool out there...