
File system Downloads
CertifiedDownload multiple files over SMB
File system Downloads
Certified
Download multiple files over SMB
Lists matching files then downloads them to internal storage. Respects maxFiles (default 25) and optional post-download action (MOVE/DELETE). Default port 445.
yaml
type: io.kestra.plugin.fs.smb.DownloadsExamples
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/"
action: MOVE
moveDirectory: "/archive_share/"
Properties
from *Requiredstring
Directory URI to list
host *Requiredstring
Remote host
action string
Possible Values
MOVEDELETENONEAction on downloaded files
maxFiles integerstring
Default
25Maximum files to retrieve
moveDirectory string
Destination directory when action is MOVE
password string
Password
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port string
Default
445Remote port
recursive booleanstring
Default
falseList files recursively
regExp string
Regexp filter on full path
username string
Username
Outputs
files array
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
outputFiles object
SubTypestring
The downloaded files as a map of from/to URIs