
Dropbox Upload
CertifiedUpload file to Dropbox
Dropbox Upload
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.
type: io.kestra.plugin.dropbox.files.UploadExamples
Upload a file from Kestra's internal storage to Dropbox.
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
accessToken *Requiredstring
Dropbox access token
Token must allow writing to the destination path.
from *RequiredNon-dynamicobject
Source file URI
Kestra storage URI string (e.g., {{ outputs.prev_task.uri }}) or URI object.
to *Requiredstring
Destination Dropbox path
Must start with /, e.g., /my_folder/file.txt.
autorename booleanstring
falseAuto-rename on conflict
Default false. When true with ADD, Dropbox appends suffixes like (1) if the path exists.
mode string
ADDWrite 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.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
metadata
Uploaded file metadata
com.dropbox.core.v2.files.FileMetadata
date-timecom.dropbox.core.v2.files.ExportInfo
com.dropbox.core.v2.files.FileLockMetadata
date-timecom.dropbox.core.v2.files.MediaInfo
com.dropbox.core.v2.files.MediaMetadata
date-timecom.dropbox.core.v2.fileproperties.PropertyGroup
com.dropbox.core.v2.fileproperties.PropertyField
date-time