Download File

nextcloud.download_file
ActionFiles & storageconnection required

Calls the Nextcloud API with the connection's credentials.

Download a file's bytes as the shared base64 file envelope, ready to hand to any upload node or file parser.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Nextcloud
Secret shape
{"username": "…", "password": "<app password>"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
path
Path inside the account's Nextcloud files, e.g. /Documents/report.pdf.
stringYes——/Documents/report.pdf

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "path": "/Documents/report.pdf"
}

Output

One shape.

result

FieldTypeExample
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/zip
size
Raw size in bytes (before base64).
number—
path
The path that was downloaded.
string—
{
  "content_encoding": "base64",
  "content_type": "application/zip",
  "file_content": "",
  "filename": "app-main.zip",
  "path": "",
  "size": 0
}

Notes

  • The whole file is held in memory and travels in the step output, so it is bounded by MANTLE_BINARY_MAX_BYTES.

See Download File run in a workflow.

In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.