[Files] Validate Checksum
Q100101: [Files] Validate Checksum
Validate specified file(s) against checksum manifest.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
File source | InOut | The file source is a list of one or more files to validate, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module. |
|
Checksum type | In | Choices: MD5 , SHA256 , SHA512 The algorithm used by the manifest file(s). |
Default: MD5 |
Manifest file name | In | Name to search for the checksum file. Will default to Checksum_Manifest. if not specified. | |
Manifest format | In | Choices: CSV , SUM , JSON File format type. CSV: name, size, date, checksum. SUM: name and checksum. |
Default: CSV |
Log output level | In | Choices: Minimal , Verbose The level of execution detail you want to appear in the log. |
Default: Minimal |
Processed file list | Out | Output of validation listing file(s) and pass/fail. |
(Italics = required parameters)
Notes
The [Files] Validate Checksum
module provides a method for validating the checksum on one of more files. The Checksum type
parameter allows the type of checksum to be specified, with supported types being: MD5
, SHA256
, and SHA512
. The Manifest file name
parameter should specify the fully qualified filename to a manifest file containing the list of checksums for each of the list of input files from the specified File source
. If no name is provided, it will automatically try to use one in the same location as the File source
named Checksum_Manifest
, as consistent behavior with the corresponding [Files] Checksum
module. If a file does not match its checksum, the step outcome will contain the source of the error.