Checksum Creator
This adapter creates checksums for files in a folder and outputs the checksums together with the file names and file properties as an XML document.
Properties
Operation | Determines which operation the adapter executes Possible values:
|
Parameters
Adapter | Main class of the adapter (do not change!) Possible values: |
path | Folder for whose contents checksums are to be created Possible values: Any valid character string (e.g. |
useRecursion | Handle folder recursively Possible values:
|
Status values
1 | The operation was executed successfully. |
-1 | The operation failed due to a technical error. |
Input
This adapter does not require any input from the previous process step.
Output
Example of an output XML document with file names, checksums and an included subfolder:
<list>
<directory lastModifiedAsString="30.09.2009 15:22:47 MESZ"
lastModifiedAsLong="1254316967185" size="0" hidden="false">Folder
</directory>
<file lastModifiedAsString="30.09.2009 15:22:47 MESZ"
lastModifiedAsLong="1254316967185" size="123" hidden="false"
checksum="1376899901">Folder\File.txt</file>
<file lastModifiedAsString="30.09.2009 15:22:27 MESZ"
lastModifiedAsLong="1254316947494" size="6" hidden="false"
checksum="63888547">Textfile.txt</file>
<file lastModifiedAsString="30.09.2009 15:22:39 MESZ"
lastModifiedAsLong="1254316959989" size="6" hidden="false"
checksum="4270080073">XMLDocument.xml</file>
</list>