Re: Check if files equal
- Posted by Juergen Luethje <jluethje at gmx.de> Jul 07, 2002
- 426 views
Kat wrote: > On 7 Jul 2002, at 11:21, Juergen Luethje wrote: >> Hi, Kat wrote: >> >> > On 7 Jul 2002, at 1:51, 10963508 at europeonline.com wrote: >> ^^^^^^^^ >> It would be nice, to see a name here. (Just my opinion.) > This isn't my problem, you know. I know that, of course. Sorry if it looked as if I was meaning you! I wrote it there because I assume, that the one who starts a thread, reads all the posts in it. When you want to discuss about a text, please don't snip the decisive part away! Here it is again, what I wrote in my previous post: --------------------------------------------------------------------- If both files don't have the same size, it's 100% sure that they are not equal. If they have the same size, further testing is needed. --------------------------------------------------------------------- >> The same logic goes for CRC tests and the comparison of random bytes. > To get a CRC, you need to perform math on all the bytes. I know. > How will you get that math done, if you don't read all the bytes? I didn't write that. In the above text between the two lines, just replace "size" with "CRC", and then you'll see what I mean. > Kat Regards, Juergen