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.

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.

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

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
parentSharedFolderIdDeprecatedstring
pathDisplaystring
pathLowerstring
previewUrlstring
propertyGroupsarray
fieldsarray
namestring
valuestring
templateIdstring
revstring
serverModifiedstring
Formatdate-time
sharingInfo
modifiedBystring
parentSharedFolderIdstring
readOnlyboolean
sizeinteger
symlinkInfo
targetstring