Skip to content

DOWNLOAD 🟑 BETA

DOWNLOAD fetches a remote file into bot storage.

Where BASIC scripting sits in the Developer guide

Syntax

DOWNLOAD "url", "path"

Example

DOWNLOAD "https://example.com/report.pdf", "inbox/report.pdf"

What it does

DOWNLOAD retrieves a URL and writes the bytes to the local path given.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • Available only when the drive Cargo feature is enabled (botserver/src/basic/keywords/mod.rs).