
File system Uploads
CertifiedUpload multiple files over SMB
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.UploadsExamples
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
from *Requiredstringarrayobject
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.
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
host *Requiredstring
Remote host
to *Requiredstring
Destination directory
maxFiles integerstring
Default
25Maximum files to upload
password string
Password
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port string
Default
445Remote port
username string
Username
Outputs
files array
SubTypestring
The fully-qualified URIs that point to the uploaded files on remote