Skip to main content

Download file from address

Download a file from its address and save it, signing in with Windows (NTLM/Kerberos) or a user name and password when the server asks.

Command in the Browser toolkit · id ooa.browser/download_url · 6 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Address (URL)StringYesAddress of the file.
Save toFileYesFile to create, or a folder (the name then comes from the address).
OverwriteBooleanNofalseReplace the file if it already exists.
UsernameStringNoUser name when the server asks to sign in (domain\user for Windows sign-in); empty uses the Windows sign-in of the agent's user.
PasswordCredentialNoPassword for that user name (a Credential).
Wait up to (milliseconds)NumberNo600000How long the download may take.

Outputs​

OutputTypeWhat it is
pathFileSaved file.
sizeNumberSize in bytes.