Link to home
Start Free TrialLog in
Avatar of ralph_rea
ralph_rea

asked on

Verify download files via FTP

Hi experts,
I've transferred via sftp (with WinSCP tool) some files from a Windows machine to a Linux machine.
Now I'd like to Know if the files are exactly alike

What commands do I need to check if the files are exactly alike?

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also use WinMerge to compare files. I do that and it works fine. (winmerge.org).
Avatar of ralph_rea
ralph_rea

ASKER

Mazdajai,
How can I use sha1sum on Windows 7?

Hirst,
my files are binary files
I would suggest multi-level filtering compare:

1. First compare the check sum
2. If #1 matches check file size
3. if #2 matches
4.  Then finger print match using any APIs listed.
If you can put the two files on a common file system (USB key or drive), WinMerge will compare binary files just fine.

Then in addition to the above, you can also use DigestIT2004 (works in Windows 8.1) to create and compare MD5 hash totals. I use this tool for verifying very large downloads.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial