Downloads
Downloads
yaml
type: "io.kestra.plugin.fs.local.Downloads"Examples
yaml
id: fs_local_downloads
namespace: company.team
tasks:
- id: downloads
type: io.kestra.plugin.fs.local.Downloads
from: "/data/files/"
regExp: ".*.csv"
recursive: true
action: NONE
yaml
id: fs_local_downloads_move
namespace: company.team
tasks:
- id: downloads_move
type: io.kestra.plugin.fs.local.Downloads
from: /data/files/
regExp: ".*.csv"
recursive: true
action: MOVE
moveDirectory: "/data/archive"
Properties
from *Requiredstring
action string
Default
NONEPossible Values
MOVEDELETENONEmaxFiles integerstring
Default
25moveDirectory string
recursive booleanstring
Default
falseregExp string
Outputs
files array
Definitions
io.kestra.plugin.fs.local.models.File
accessedDatestring
Format
date-timecreatedDatestring
Format
date-timeisDirectoryboolean
localPath
java.nio.file.Path
modifiedDatestring
Format
date-timenamestring
parentstring
sizeinteger
uristring
Format
urioutputFiles object
SubTypestring