A good way to verify if a transferred file has not been corrupted during transfer to another computer is to use MD5 hash. What you do, is calculate the digital signature of the file on both sides, then compare the output. If they are the same, you are OK, if not, you need to transfer the file again.
Mac OS X, does not come with
md5sum installed by default, but it comes with an equivalent tool that you can use instead.
md5. To calculate the 128 bit MD5 hash of a file, run this command:
If you need the same output format that
md5sum has, use this.
md5 -r [file.ext]
openssl also has a function to calculate md5 hash.
openssl md5 [file.ext]
That is all. You can now be sure that file you transferred via, ftp, http, or any other way is the same in both sides of path.