Skip to content

ndi.cloud.download.download_dataset_files

  DOWNLOAD_DATASET_FILES - Downloads dataset files from a cloud dataset.

  Syntax:
    ndi.cloud.download.download_dataset_files(CLOUDDATASETID, TARGETFOLDER, [FILEUUIDS], [OPTIONS])
    Downloads specified files or all files from a cloud dataset to the target
    folder.

  Inputs:
    CLOUDDATASETID (1,1) string     - The identifier of the cloud dataset.
    TARGETFOLDER (1,1) string       - The folder where files will be downloaded. 
                                      Must be a valid folder path.
    FILEUUIDS (1,:) string          - (Optional) The unique identifiers of the
                                      files to download. Default is missing, which 
                                      indicates all files will be downloaded.
    OPTIONS.Verbose (1,1) logical   - (Optional) Flag to enable verbose 
                                      output. Default is true.
    OPTIONS.AbortOnError (1,1) logical - (Optional) Flag to control whether to 
                                      abort on download errors. Default is true.

  Outputs:
    None