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
false
Enable the RSA/SHA1 algorithm (disabled by default)
password string
Password on the remote server
port string
Default
445
Port of the remote server
recursive booleanstring
Default
false
List 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-time
fileType string
Possible Values
FOLDER
FILE
FILE_OR_FOLDER
IMAGINARY
flags integer
groupId integer
name string
path string
Format
uri
permissions integer
size integer
symbolicLink boolean
Default
false
updatedDate string
Format
date-time