The download file action enables you to download a file from the Databricks file system to a specified destination path using an existing Databricks session.

Settings

  • Use the Session name field to select one of the following options:
    • Session name: Enter the name of the session used during Connect action.

      (Optional) Click the Insert a value icon to select an existing variable that you have used to store the default session name.

    • Variable: Enter the name of the variable that you have used to store the session name.
  • Source file path: Specify the full path of the file that you want to download from the Databricks file system.
  • Destination folder path: Specify the local destination folder path for the downloaded file. The input must be a folder path.
  • Overwrite file: Select this option to overwrite an existing local file with the same name.

    If the Overwrite file option is unchecked and a file with the same name already exists, the download will fail with an error message.

  • Assign output to a variable: Create or choose a Boolean variable to store the download result.