Dropbox List

Dropbox List

Certified

List Dropbox directory entries

Lists files and folders under a path (default root). The path is provided as a string and should start with / when set. Supports recursion, limit (default 2000), and fetchType (default FETCH) to control memory vs storage output.

yaml
type: io.kestra.plugin.dropbox.files.List

List all files and folders in a specific Dropbox directory.

yaml
id: dropbox_list_files
namespace: company.team
tasks:
  - id: list_files_from_dropbox
    type: io.kestra.plugin.dropbox.files.List
    accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
    from: "/My Kestra Files/Inputs"
    recursive: true
    fetchType: FETCH
Properties

Dropbox access token

Token must allow listing the target path.

DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch strategy

FETCH_ONE: return first entry. FETCH (default): return all entries in memory. STORE: stream entries to Kestra storage and return URI.

Directory path

Literal Dropbox path. Empty or null lists the root. Should start with / when provided.

Default2000

Maximum entries

Default 2000. Passed to Dropbox API as limit.

Reference (ref) of the pluginDefaults to apply to this task.

Defaultfalse

Recursive listing

Default false. When true, traverses sub-folders.

First entry

Populated when fetchType is FETCH_ONE.

Definitions
clientModifiedstring
Formatdate-time

Client modified time

Last modified timestamp from Dropbox. Null for folders.

idstring

Lower-cased path

Dropbox path_lower for the entry — the item's lower-cased path, not a stable unique ID.

namestring

Item name

pathstring

Display path

Case-preserved display path from Dropbox.

sizeinteger

Size in bytes

Null for folders.

typestring

Entry type

Either 'file' or 'folder'.

Directory entries

Populated when fetchType is FETCH.

Definitions
clientModifiedstring
Formatdate-time

Client modified time

Last modified timestamp from Dropbox. Null for folders.

idstring

Lower-cased path

Dropbox path_lower for the entry — the item's lower-cased path, not a stable unique ID.

namestring

Item name

pathstring

Display path

Case-preserved display path from Dropbox.

sizeinteger

Size in bytes

Null for folders.

typestring

Entry type

Either 'file' or 'folder'.

Default0

Entry count

Formaturi

Stored entries URI

Populated when fetchType is STORE.

The number of files and folders found.