Skip to main content

Download file

Save a Box file to this machine.

Command in the Box toolkit · id ooa.box/download_file · 6 inputs (3 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
File IDStringYesBox file to download.
Save asFileYesWhere to save it, e.g. downloads/invoice.pdf. Missing folders are created.
Access tokenCredentialYesBox access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
As userStringNoAct on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself.
Endpoint addressStringNohttps://api.box.comBox API address. Leave the default unless your administrator gives you another.
OverwriteBooleanNotrueReplace a local file that is already at save_as; when off, the step fails instead.

Outputs​

OutputTypeWhat it is
pathFileFull path of the saved file.