Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2015
    Posts
    1

    Question CRC Equal files shows as different

    Hello. Forum search doesnt show any results for world "crc" and im trying to make a new post.
    Im starting to use BC 3 and tries BC 4 trial and everywhere i see one problem.
    I have two FTP servers with different versions of my site. Some files are really different, some are really same (time and size are same) and some files are same in plain text and different in binary becouse of different types f line endings. The column CRC both in left and right parts shows SAME values, but files are marked as different.

    As you can see, the folder "core" contains files marked as different. For example, "DataProviderQuery.class.php". File size are different - 2369 and 2281. CRC values are the same - "BA1EFDE4". Sessions comparison settings are in image too.
    What im doing wrong?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,384

    Default

    Hello,

    Because of the size difference, the files couldn't be exactly equal, even if the CRC codes match. Hence, even if the CRC code matches, we'll flag this as a content difference. When dealing with FTPs and you need to perform a binary comparison, you will need to switch each of the FTP Profile(s), Transfer tab, to always use Binary transfers. This way the line ending character is preserved during the transfer. This would keep the same line endings during a copy, which would keep the sizes the same. The CRC code may be generated from a temp download (which would apply the transfer type) or directly reported from the FTP server if it supports the xCRC command.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •