Size Size

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

Get the size of a file from the Kestra's 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 whose size needs to be fetched.

Must be a kestra:// storage URI.

Outputs

size

  • Type: integer
  • Dynamic:
  • Required:

The size of the file.

Was this page helpful?