Upload
yaml
type: "io.kestra.plugin.fs.smb.Upload"
Upload a file to a SMB (Samba for eg.) server
Examples
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: pass
from: "{{ inputs.file }}"
to: "/my_share/dir2/file.txt"
Properties
from
- Type: string
- Dynamic: ✔️
- Required: ✔️
The file to copy, must be an internal storage URI
host
- Type: string
- Dynamic: ✔️
- Required: ✔️
Hostname of the remote server
password
- Type: string
- Dynamic: ✔️
- Required: ❌
Password on the remote server
port
- Type: string
- Dynamic: ✔️
- Required: ❌
- Default:
445
Port of the remote server
to
- Type: string
- Dynamic: ✔️
- Required: ❌
The destination path, if not set it will use the name of the file denoted by the from
property
username
- Type: string
- Dynamic: ✔️
- Required: ❌
Username on the remote server
Outputs
from
- Type: string
- Required: ❌
- Format:
uri
The fully-qualified URIs that point to source data
to
- Type: string
- Required: ❌
- Format:
uri
The fully-qualified URIs that point to destination path
Definitions
Was this page helpful?