ds_read_file
Read a portion of an iRODS data-object by path and offset; if the file is too large for inline output, access it via WebDAV URI.
Instructions
Read the partial content of a file (data-object) with the specified path and offset. The specified path must be an iRODS path. If the file is too large to be displayed inline, use the WebDAV URI to access it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file (data-object) to read. | |
| length | No | The maximum length of the file to read. Default value is 1048576. Length must be greater than or equal to 65536. Length must not be too large, otherwise the output may be too large. Maximum value is 1048576. | |
| offset | No | The offset to start reading the file from. Default is 0. |