interface DownloadFilesRequest
file_names: string[];
options?: Record<string, string>;
read_lengths: number[];
read_offsets: number[];
file_names: string[];
options?: Record<string, string>;
read_lengths: number[];
read_offsets: number[];
- Defined in src/types.ts:2324
Properties
Properties
read_lengths
read_lengths: number[]
Array of number of bytes to read from each respective file in file_names. Must either be empty or the same length as file_names. If empty, files are downloaded in their entirety. If not empty, read_offsets must also not be empty.
- Defined in src/types.ts:2347
read_offsets
read_offsets: number[]
An array of starting byte offsets from which to read each respective file in file_names. Must either be empty or the same length as file_names. If empty, files are downloaded in their entirety. If not empty, read_lengths must also not be empty.
- Defined in src/types.ts:2340
An array of the file names to download from KiFS. File paths may contain wildcard characters after the KiFS directory delimiter.
Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.