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!
LinuxWindows OSUnix OS

Avatar of undefined
Last Comment
serialband

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mazdajai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
John

You can also use WinMerge to compare files. I do that and it works fine. (winmerge.org).
ralph_rea

ASKER
Mazdajai,
How can I use sha1sum on Windows 7?

Hirst,
my files are binary files
gireeshbabu

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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
John

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
serialband

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.