File system List

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.List
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

Directory URI to list

Remote host

Default25

Maximum files to retrieve

Password

Reference (ref) of the pluginDefaults to apply to this task.

Default445

Remote port

Defaultfalse

List files recursively

Regexp filter on full path

DefaultNONE
Possible Values
NONELAST_MODIFIED_ASCLAST_MODIFIED_DESCNAME_ASCNAME_DESC

Sort 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

The list of files

Definitions
accessDatestring
Formatdate-time
fileTypestring
Possible Values
FOLDERFILEFILE_OR_FOLDERIMAGINARY
flagsinteger
groupIdinteger
namestring
pathstring
Formaturi
permissionsinteger
sizeinteger
symbolicLinkboolean
Defaultfalse
updatedDatestring
Formatdate-time
userIdinteger