Differences

This shows you the differences between the selected revisions of the page.

2014-12-19 2014-12-19
5.6.4 Bug 1245: File ownership is available in .NET assembly and XML log. (martin) 5.6.4 Bug 1246: File checksum can be calculated in scripting (checksum command and XML log entry) and .NET assembly (Session.CalculateFileChecksum method). (martin)
Line 155: Line 155:
Associated script commands: ''[[scriptcommand_call|call]]'' Associated script commands: ''[[scriptcommand_call|call]]''
 +
 +==== checksum ====
 +[[ui_properties#checksum|Calculating a checksum]] of a remote file.
 +
 +Elements:
 +^ Element                  ^ Description ^
 +| ''filename''            | Absolute path to a remote file (in ''value'' attribute) |
 +| ''algorithm''            | Name of a checksum algorithm used (in ''value'' attribute) |
 +| ''checksum''            | Hex dump of a calculated checksum (in ''value'' attribute) |
 +
 +Example:
 +<code xml>
 +<checksum>
 +  <filename value="/home/martin/public_html/index.html" />
 +  <algorithm value="sha-1" />
 +  <checksum value="bb4dfa9b51d3f6c99b5ec6c12ebf9cade79f43c4" />
 +  <result success="true" />
 +</checksum>
 +</code>
 +
 +Associated script commands: ''[[scriptcommand_checksum|checksum]]''
==== chmod ==== ==== chmod ====

Last modified: by martin