Skip to main content

Store: Download

Download file from persistent storage.

Parameters

Path from input

When on, the file path is read at runtime from the Filename input connector instead of the static File path parameter (which is hidden). Use this to download a file whose path is computed by an upstream node. When off, the static File path below is used and the node is fired by its Trigger input.

File pathrequired

Which file path you want to download the file from, accept placeholders. Only shown (and used) when Path from input is off.

ex:

  • response.json
  • {year}/{month}/{day}/backup.xlsx

Placeholders accepted:

  • {year}: current year in calendar date
  • {month}: current month
  • {day}: current day of the month 01 to 31
  • {hour}: current hour
  • {minute}: current minute
  • {second}: current second
  • {timestamp}: current timestamp (in seconds)
  • {timestamp_ns}: current timestamp (in nanoseconds)
  • {weekday}: the day of current week
  • {week}: ISO week number
  • {ordinal}: returns the day of year starting from 1.
  • {offset}: current timezone offset
  • {random_uuid}: random uuid v4

The {file_name} / {file_stem} / {file_extension} tokens are not supported by this node.

Input

Trigger

Connectors to trigger file download. Only present when Path from input is off.

Filename

Plain text path of the file to download. Replaces the Trigger input (and is required) when Path from input is on. The same placeholders as the static File path are expanded.

Output

File
Given file properly downloaded