mnx-file-download
Downloads a file by its SHA-256 hash from the SANDS Lab MNX device.
mnx-file-download [profile=VALUE] sha256=VALUE path=VALUE [filename=VALUE]
- profile=VALUE
- Optional. MNX connect profile code
- sha256=VALUE
- Required. SHA256 hash value of the file to download
- path=VALUE
- Required. Local path to save the downloaded file
- filename=VALUE
- Optional. File format extension (e.g. docx, pptx, pdf)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | MNX connect profile code |
| result_code | Integer | Result Code | e.g. 200 (200: success) |
| result_msg | String | Result Message | e.g. /opt/logpresso/download/mnx/invoice.docx |