File system Uploads

File system Uploads

Certified

Upload multiple files over SMB

Uploads each provided file to the target directory on an SMB/CIFS share. Default port 445.

yaml
type: io.kestra.plugin.fs.smb.Uploads
yaml
id: fs_smb_uploads
namespace: company.team

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

tasks:
  - id: uploads
    type: io.kestra.plugin.fs.smb.Uploads
    host: localhost
    port: "445"
    username: foo
    password: "{{ secret('SMB_PASSWORD') }}"
    from:
      - "{{ inputs.file1 }}"
      - "{{ inputs.file2 }}"
    to: "/my_share/dir2"
Properties

Files to upload (kestra:// URIs)

Kestra internal storage URIs; accepts a single URI string, a list of URIs, a map of destination filenames to URIs (to preserve original filenames), or a URI pointing to a file that contains URIs.

Remote host

Destination directory

Default25

Maximum files to upload

Password

Reference (ref) of the pluginDefaults to apply to this task.

Default445

Remote port

Username

SubTypestring

The fully-qualified URIs that point to the uploaded files on remote