Sync files between a local directory and a server directory (when rsync can't be used)