
File system List
CertifiedList files on an SMB share
File system List
Certified
List files on an SMB share
Lists entries under the given share path with optional regexp filter. Sorted with sort (default NONE) before maxFiles truncation. Default port 445.
yaml
type: io.kestra.plugin.fs.smb.ListExamples
yaml
id: fs_smb_list
namespace: company.team
tasks:
- id: list
type: io.kestra.plugin.fs.smb.List
host: localhost
port: "445"
username: foo
password: "{{ secret('SMB_PASSWORD') }}"
from: "/my_share/dir1/"
regExp: '.*/dir1/.*\.(yaml|yml)'
sort: NAME_ASC
Properties
from *Requiredstring
Directory URI to list
host *Requiredstring
Remote host
maxFiles integerstring
Default
25Maximum files to retrieve
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
sort string
Default
NONEPossible Values
NONELAST_MODIFIED_ASCLAST_MODIFIED_DESCNAME_ASCNAME_DESCSort order applied to the list before maxFiles truncation
NONE (default) preserves the order returned by the share listing. LAST_MODIFIED_ASC/LAST_MODIFIED_DESC sort by last modified date, oldest/newest first. NAME_ASC/NAME_DESC sort alphabetically by file name.
username string
Username
Outputs
files array
The list of 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