List files from an SMB (e.g., Samba) server directory.
yaml
type: "io.kestra.plugin.fs.smb.List"Examples
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
from *Requiredstring
The fully-qualified URIs that point to path
host *Requiredstring
Hostname of the remote server
enableSshRsa1 booleanstring
Default
falseEnable the RSA/SHA1 algorithm (disabled by default)
password string
Password on the remote server
port string
Default
445Port of the remote server
recursive booleanstring
Default
falseList file recursively
regExp string
A regexp to filter on full path
username string
Username on the remote server
Definitions
io.kestra.plugin.fs.vfs.models.File
accessDate string
Format
date-timefileType string
Possible Values
FOLDERFILEFILE_OR_FOLDERIMAGINARYflags integer
groupId integer
name string
path string
Format
uripermissions integer
size integer
symbolicLink boolean
Default
falseupdatedDate string
Format
date-time