Uploads

Uploads

Certified

Upload multiple files to the local filesystem

yaml
type: io.kestra.plugin.fs.local.Uploads
yaml
id: fs_local_uploads
namespace: company.team

inputs:
  - id: file1
    type: FILE
  - id: file2
    type: FILE

tasks:
  - id: uploads
    type: io.kestra.plugin.fs.local.Uploads
    from:
      - "{{ inputs.file1 }}"
      - "{{ inputs.file2 }}"
    to: "/data/uploads"

yaml
id: fs_local_uploads_regexp
namespace: company.team

tasks:
  - id: uploads
    type: io.kestra.plugin.fs.local.Uploads
    from:
      - "{{ outputs.step1.uri }}"
      - "{{ outputs.step2.uri }}"
    regExp: ".*\\.sql$"
    to: "/data/uploads"

yaml
id: fs_local_uploads_with_names
namespace: company.team

inputs:
  - id: file1
    type: FILE
  - id: file2
    type: FILE

tasks:
  - id: uploads
    type: io.kestra.plugin.fs.local.Uploads
    from:
      report.csv: "{{ inputs.file1 }}"
      data.json: "{{ inputs.file2 }}"
    to: "/data/uploads"
Properties
Default25
Defaulttrue
SubTypestring