Download multiple files from an SMB (e.g., Samba) server.
yaml
type: "io.kestra.plugin.fs.smb.Downloads"
Examples
Download files from my_share
and move them to an archive_share
yaml
id: fs_smb_downloads
namespace: company.team
tasks:
- id: downloads
type: io.kestra.plugin.fs.smb.Downloads
host: localhost
port: "445"
username: foo
password: "{{ secret('SMB_PASSWORD') }}"
from: "/my_share/"
interval: PT10S
action: MOVE
moveDirectory: "/archive_share/"
Properties
from *Requiredstring
The directory to list
host *Requiredstring
Hostname of the remote server
action string
Possible Values
MOVE
DELETE
NONE
The action to do on downloaded files
enableSshRsa1 booleanstring
Default
false
Enable the RSA/SHA1 algorithm (disabled by default)
moveDirectory string
The destination directory in case of MOVE
password string
Password on the remote server
port string
Default
445
Port of the remote server
recursive booleanstring
Default
false
List file recursively
regExp string
A regexp to filter on full path
username string
Username on the remote server
Outputs
Definitions
io.kestra.plugin.fs.vfs.models.File
accessDate string
Format
date-time
fileType string
Possible Values
FOLDER
FILE
FILE_OR_FOLDER
IMAGINARY
flags integer
groupId integer
name string
path string
Format
uri
permissions integer
size integer
symbolicLink boolean
Default
false
updatedDate string
Format
date-time