downloads
Download multiple files from an SMB (e.g., Samba) server.
Download multiple files from an SMB (e.g., Samba) server.
Download multiple files from an SMB (e.g., Samba) server.
type: "io.kestra.plugin.fs.smb.downloads"Examples
Download files from my_share and move them to an archive_share
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
from*Requiredstring
The directory to list
host*Requiredstring
Hostname of the remote server
actionstring
MOVEDELETENONEThe action to do on downloaded files
enableSshRsa1booleanstring
falseEnable the RSA/SHA1 algorithm (disabled by default)
moveDirectorystring
The destination directory in case of MOVE
passwordstring
Password on the remote server
portstring
445Port of the remote server
recursivebooleanstring
falseList file recursively
regExpstring
A regexp to filter on full path
usernamestring
Username on the remote server
Outputs
filesarray
Metadata of downloaded files.
io.kestra.plugin.fs.vfs.models.File
date-timeFOLDERFILEFILE_OR_FOLDERIMAGINARYurifalsedate-timeoutputFilesobject
The downloaded files as a map of from/to URIs.