Download multiple files from an SMB (e.g., Samba) server.

yaml
type: "io.kestra.plugin.fs.smb.Downloads"

Download files from my_share and move them to an archive_share

yaml
id: fs_smb_downloads
namespace: company.team

tasks:
  - id: downloads
    type: io.kestra.plugin.fs.smb.Downloads
    host: localhost
    port: "445"
    username: foo
    password: "{{ secret('SMB_PASSWORD') }}"
    from: "/my_share/"
    interval: PT10S
    action: MOVE
    moveDirectory: "/archive_share/"
Properties

The directory to list

Hostname of the remote server

Possible Values
MOVEDELETENONE

The action to do on downloaded files

Defaultfalse

Enable the RSA/SHA1 algorithm (disabled by default)

The destination directory in case of MOVE

Password on the remote server

Default445

Port of the remote server

Defaultfalse

List file recursively

A regexp to filter on full path

Username on the remote server

Metadata of downloaded files.

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

The downloaded files as a map of from/to URIs.