Skip to main content
  • Downloads one or more files from KiFS.

    Parameters

    • file_names: string[]

      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.

    • 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.

    • 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.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<DownloadFilesResponse>

    Promise<Types.DownloadFilesResponse> - Promise resolving to the response