List files from an SMB (e.g., Samba) server directory.

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)"
Properties

The fully-qualified URIs that point to path

Hostname of the remote server

Default false

Enable the RSA/SHA1 algorithm (disabled by default)

Password on the remote server

Default 445

Port of the remote server

Default false

List file recursively

A regexp to filter on full path

Username on the remote server

SubType

The list of files

Format date-time
Possible Values
FOLDERFILEFILE_OR_FOLDERIMAGINARY
Format uri
Format date-time