Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare 2 text files using checksum
Message
De
14/11/2009 03:26:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01434733
Message ID:
01434738
Vues:
89
This message has been marked as a message which has helped to the initial question of the thread.
I check both file size and checksum. It's only 99.99% safe, but that's fine for me.

>Hi all
>
>I can use FILETOSTR(), low level file access or FC.exe to compare 2 text files and know if they are same. I was curious if SYS(2007, FILETOSTR("MyFile.txt")) help me in this matter by comparing with a previously generated checksum value.
>
>My concern being small, say a single character, change to a big text file will guaranteed return a different checksum value?
>
>UPDATE, just thought this question. What are the chances that 2 different text files might return a same value?
>
>Please advise.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform