File system Downloads

File system Downloads

Certified

Download multiple files over SMB

Lists matching files then downloads them to internal storage. Respects maxFiles (default 25) and optional post-download action (MOVE/DELETE). Default port 445.

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/"
    action: MOVE
    moveDirectory: "/archive_share/"
Properties

Directory URI to list

Remote host

Possible Values
MOVEDELETENONE

Action on downloaded files

Default25

Maximum files to retrieve

Destination directory when action is MOVE

Password

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

Default445

Remote port

Defaultfalse

List files recursively

Regexp filter on full path

Username

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