>PKZip has a nice feature that generates a 32-bit checksum of each file in the archive, in order to ensure data integrity.
>
>Can anyone outline how to generate one in VFP for an arbitrary file, or point me to a reference?
You could use SYS(2007) after using FILETOSTR() to grab the file content; it is not the same checksum algorithm, yielding a 16 bit value, but it's free and quick:
nCheckSum = SYS(2007,FILETOSTR(cFileToCheckSum))