File system Upload

File system Upload

Certified

Upload a file over SMB

Pushes one local file to an SMB/CIFS share. Default port 445.

yaml
type: io.kestra.plugin.fs.smb.Upload
yaml
id: fs_smb_upload
namespace: company.team

inputs:
  - id: file
    type: FILE

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

Source file (kestra:// URI)

Remote host

Defaultfalse

Overwrite existing files

If false (default), fails when the destination already exists.

Password

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

Default445

Remote port

Destination path

If unset, uses the source filename.

Username

Formaturi

The fully-qualified URIs that point to source data

Formaturi

The fully-qualified URIs that point to destination path