
Dropbox Download
CertifiedDownload Dropbox file to storage
Dropbox Download
Download Dropbox file to storage
Downloads a Dropbox file and writes it to Kestra internal storage. Source path must start with / or be read from a kestra:// URI. Fails if the path is missing or token lacks read access.
type: io.kestra.plugin.dropbox.files.DownloadExamples
Download a file from a specific Dropbox path.
id: dropbox_download_file
namespace: company.team
tasks:
- id: download_report
type: io.kestra.plugin.dropbox.files.Download
accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
from: "/shared_reports/quarterly_report.csv"
Download a file using a path from a previous task's output.
id: dropbox_download_dynamic_path
namespace: company.team
tasks:
- id: generate_path_file
type: io.kestra.plugin.core.storage.Write
content: "/dynamic/data/{{ execution.startDate }}.json"
# Kestra automatically generates the output URI
- id: download_dynamic_file
type: io.kestra.plugin.dropbox.files.Download
accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
from: "{{ outputs.generate_path_file.uri }}" # Reference the generated URI
Properties
accessToken *string
Dropbox access token
Token must allow reading the source path.
from *object
Path to download
Literal Dropbox path or kestra:// URI containing the path. Must start with /.
assets
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150Outputs
metadata
Downloaded 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-timecom.dropbox.core.v2.files.FileSharingInfo
com.dropbox.core.v2.files.SymlinkInfo
uri string
uriDownloaded file URI