BrightSign Object Reference Manual (FW 5.1) User Manual
Page 188

180
required files, then this method will immediately fail before any files are changed (this method will always attempt to
do as much work as possible before destructively modifying the file system). This method automatically checks the
length of the file and any hashes that match the specification. If there is a mistmatch, then the affected file is
deleted and realization fails. This method indicates success or failure by returning an
Note: The pool and the destination must be in the same file system.
•
ValidateFiles(spec As Object, options As Object) As Object: Checks the hash of every file in the
spec against the corresponding file in the destination path and returns an associative array containing each
mismatched fle name mapped to the reason. The options parameter is an roAssociativeArray, which can currently
support a single option:
o "DeleteCorrupt": Automatically deletes any files that do not match the expected hash. By default, these
hashes are not deleted.