Download multiple files from a SMB (Samba for eg.) 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: pass
from: "/my_share/"
interval: PT10S
action: MOVE
moveDirectory: "/archive_share/"
Dynamic
YES
The directory to list
Dynamic
YES
Hostname of the remote server
Dynamic
YES
Possible Values
MOVE
DELETE
NONE
The action to do on downloaded files
Dynamic
YES
The destination directory in case of MOVE
Dynamic
YES
Password on the remote server
Dynamic
YES
Default
445
Port of the remote server
Dynamic
YES
Default
false
Dynamic
YES
A regexp to filter on full path
Dynamic
YES
Username on the remote server
Dynamic
NO
Format
date-time
Dynamic
NO
Possible Values
FOLDER
FILE
FILE_OR_FOLDER
IMAGINARY
Dynamic
NO
Dynamic
NO
Dynamic
NO
Dynamic
NO
Format
uri
Dynamic
NO
Dynamic
NO
Dynamic
NO
Default
false
Dynamic
NO
Format
date-time
Dynamic
NO