I have script scheduled with cron that transfers a file around to other machines using scp filename user@host:~
and today have noticed that sometimes the md5 of the files don't match. Upon closer inspection it seems the file is corrupt.
My question is, what tool can I use to ensure a non-corrupt transfer?