View Single Post
  #708  
Old 2010-03-17, 10:48 AM
roann's Avatar
roann roann is offline
TTD Staff
 
Join Date: Nov 2004
Location: Planet Earth
Re: Trader's Little Helper

@toaster4:

Do you have the latest release (v2.5.0 build 164) installed? If not, please upgrade.

There's no definite standard how a line in a md5 checksum file should look like, unfortunately. Most used is <checksum><space><asterisk><filename>. Sometimes the space is missing, sometimes '#' is used instead of '*', sometimes the asterisk is missing (to name just a few other structures around).

The asterisk is used to tell where the filename begins. If the asterisk is missing the space takes the place as delimiter. This introduces a problem: If a filename does not have any leading spaces there may be as much spaces between checksum and filename as you want. But if leading spaces in filenames are permitted, you need to specify how many spaces are used as delimiters to recognize filenames properly.

TLH assumes that leading spaces in a filename are permitted. If there is no asterisk found the first space following the md5 checksum is taken as delimiter and anything following that first space as filename. In other words: If there is more than one space between checksum and filename TLH reads a filename with at least one leading space. But if the filename on the hd does not have any leading spaces and a md5 creation tool was used that puts say five spaces between checksum and name the verification will fail.

Robert
Reply With Quote Reply with Nested Quotes