Network: Download a file from a URL

Download a file from a URL.

Help Centre › Building Processes

Download a file from a URL.

Add it to a process

In the process designer, open the Add step tab. Find Download a file from a URL under Network › File Operations, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
URLYesURL to download
Save to pathYesLocal file path to save to
Session nameNoSession name Default: default.
VariableYesName of the variable where the result will be stored Default: downloaded_file.
Headers (JSON object)NoRequest headers
Query parameters (JSON object)NoURL query parameters
Timeout (seconds)NoRequest timeout

What it gives back

  • {downloaded_file} – Path to downloaded file

See all Network steps.

Errors

ErrorDescription
Connection failedUnable to establish a connection to the server
File write errorUnable to write the file to the specified path

Tips

  • Uses streaming so it is memory-efficient for large files
  • Ensure the target directory exists before downloading
  • Use a session with authentication for downloading files from protected APIs

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.