compare the checksums of the source file and the remote file that was just put in place by scp.  If they were different, then throw an exception.