Upload a file to an SMB (e.g., Samba) server directory.
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"
Dynamic
YESThe file to copy, must be an internal storage URI
Dynamic
YESHostname of the remote server
Dynamic
NO Default
falseEnable the RSA/SHA1 algorithm (disabled by default)
Dynamic
NO Default
falseOverwrite.
If set to false, it will raise an exception if the destination folder or file already exists.
Dynamic
YESPassword on the remote server
Dynamic
YES Default
445Port of the remote server
Dynamic
YESThe destination path, if not set it will use the name of the file denoted by the from property
Dynamic
YESUsername on the remote server
Format
uriThe fully-qualified URIs that point to source data
Format
uriThe fully-qualified URIs that point to destination path