Download a file from the local filesystem to the Kestra internal storage.

Local filesystem access is disabled by default. You must configure the plugin default allowed-paths in your Kestra configuration.

Example (Kestra config):

yaml
plugins: 
  configurations: 
    - type: io.kestra.plugin.fs.local.Download
      values: 
        allowed-paths: 
          - /data/files
yaml
type: "io.kestra.plugin.fs.local.Download"
yaml
id: fs_local_download
namespace: company.team

tasks:
  - id: download
    type: io.kestra.plugin.fs.local.Download
    from: "/data/files/source.csv"
    workerGroup: "etl-worker"
Properties

Source file path on the local filesystem

Absolute path of the file to download

Size of the downloaded file in bytes

Format uri

URI of the file in Kestra storage