
File system Upload
CertifiedUpload a file over SMB
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.UploadExamples
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
from *Requiredstring
Source file (kestra:// URI)
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
host *Requiredstring
Remote host
overwrite booleanstring
Default
falseOverwrite existing files
If false (default), fails when the destination already exists.
password string
Password
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port string
Default
445Remote port
to string
Destination path
If unset, uses the source filename.
username string
Username
Outputs
from string
Format
uriThe fully-qualified URIs that point to source data
to string
Format
uriThe fully-qualified URIs that point to destination path