🚀 New! Kestra raises $3 million to grow Learn more

Size Size

yaml
type: "io.kestra.core.tasks.storages.Size"

Get the size of a file from the internal storage.

Examples

yaml
id: "size"
type: "io.kestra.core.tasks.storages.Size"
uri: "kestra://long/url/file.txt"

Properties

uri

  • Type: string
  • Dynamic: ✔️
  • Required:

the file

Must be a kestra:// storage URL

Outputs

size

  • Type: integer

The size of the file