iai files download
Download a file's bytes
Synopsis
Download a file's current version, or an older one with --version.
Without --output, the file is written under the name the server reports, reduced to a safe local filename; --output - streams to stdout instead.
iai files download <id|name> [flags]Examples
iai files download <id|name>
iai files download <id|name> --version <version-id>
iai files download <id|name> --output report.pdf
iai files download <id|name> --output - > report.pdfOptions
-f, --force Overwrite an existing local file
-h, --help help for download
-o, --organization string Organization name that owns the project
--output string Local path to write to (default: the stored name); - for stdout
-p, --project string Project name
--timeout duration HTTP timeout for the download (default 15m0s)
--version string Download this specific version instead of the current oneOptions inherited from parent commands
SEE ALSO
iai files - Manage documents stored in a project
Last updated
Was this helpful?

