Downloads
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
MOVEDELETENONEThe action to do on downloaded files
enableSshRsa1 booleanstring
Default
falseEnable 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
445Port of the remote server
recursive booleanstring
Default
falseList 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-timefileType string
Possible Values
FOLDERFILEFILE_OR_FOLDERIMAGINARYflags integer
groupId integer
name string
path string
Format
uripermissions integer
size integer
symbolicLink boolean
Default
falseupdatedDate string
Format
date-time