Dropbox Upload

Dropbox Upload

Certified

Upload file to Dropbox

Uploads a file from Kestra internal storage to a Dropbox path. Destination must start with /. Honors mode (default ADD) and optional server-side autorename when conflicts occur.

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

Upload a file from Kestra's internal storage to Dropbox.

yaml
id: dropbox_upload_file
namespace: company.team
tasks:
  - id: create_file_to_upload
    type: io.kestra.plugin.core.storage.Write
    content: "This is the content of the file to be uploaded."
  - id: upload_to_dropbox
    type: io.kestra.plugin.dropbox.files.Upload
    accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
    from: "{{ outputs.create_file_to_upload.uri }}" # URI from previous task
    to: "/kestra_uploads/my_file.txt"
    mode: "OVERWRITE"
    autorename: false
Properties

Dropbox access token

Token must allow writing to the destination path.

Source file URI

Kestra storage URI string (e.g., {{ outputs.prev_task.uri }}) or URI object.

Destination Dropbox path

Must start with /, e.g., /my_folder/file.txt.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Defaultfalse

Auto-rename on conflict

Default false. When true with ADD, Dropbox appends suffixes like (1) if the path exists.

DefaultADD

Write mode on conflict

ADD (default): keep the existing file; on a conflict the upload is renamed with a suffix only when autorename is true, otherwise it fails. OVERWRITE: replace existing file.

Uploaded file metadata

Definitions
clientModifiedstring
Formatdate-time
contentHashstring
exportInfo
exportAsstring
exportOptionsarray
SubTypestring
fileLockInfo
createdstring
Formatdate-time
isLockholderboolean
lockholderAccountIdstring
lockholderNamestring
hasExplicitSharedMembersboolean
idstring
isDownloadableboolean
isRestorableboolean
mediaInfo
metadataValue
dimensions
location
timeTakenstring
Formatdate-time
namestring
parentSharedFolderIdstring
pathDisplaystring
pathLowerstring
previewUrlstring
propertyGroupsarray
fieldsarray
namestring
valuestring
templateIdstring
revstring
serverModifiedstring
Formatdate-time
sharingInfo
modifiedBystring
parentSharedFolderIdstring
readOnlyboolean
sizeinteger
symlinkInfo
targetstring