
Downloads
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
actionstring
Possible Values
MOVEDELETENONEThe action to do on downloaded files
enableSshRsa1booleanstring
Default
falseEnable the RSA/SHA1 algorithm (disabled by default)
moveDirectorystring
The destination directory in case of MOVE
passwordstring
Password on the remote server
portstring
Default
445Port of the remote server
recursivebooleanstring
Default
falseList file recursively
regExpstring
A regexp to filter on full path
usernamestring
Username on the remote server
Outputs
filesarray
Metadata of downloaded files.
Definitions
io.kestra.plugin.fs.vfs.models.File
accessDatestring
Format
date-timefileTypestring
Possible Values
FOLDERFILEFILE_OR_FOLDERIMAGINARYflagsinteger
groupIdinteger
namestring
pathstring
Format
uripermissionsinteger
sizeinteger
symbolicLinkboolean
Default
falseupdatedDatestring
Format
date-timeuserIdinteger
outputFilesobject
SubTypestring
The downloaded files as a map of from/to URIs.