
Dropbox Download
CertifiedDownload Dropbox file to storage
Dropbox Download
Certified
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.
yaml
type: io.kestra.plugin.dropbox.files.DownloadExamples
Download a file from a specific Dropbox path.
yaml
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.
yaml
id: dropbox_download_dynamic_path
namespace: company.team
tasks:
- id: generate_path_file
type: io.kestra.plugin.core.storage.Write
content: "/dynamic/data/{{ flow.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 *Requiredstring
Dropbox access token
Token must allow reading the source path.
from *RequiredNon-dynamicobject
Path to download
Literal Dropbox path or kestra:// URI containing the path. Must start with /.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
metadata
Downloaded file metadata
Definitions
com.dropbox.core.v2.files.FileMetadata
clientModifiedstring
Format
date-timecontentHashstring
exportInfo
com.dropbox.core.v2.files.ExportInfo
exportAsstring
exportOptionsarray
SubTypestring
fileLockInfo
com.dropbox.core.v2.files.FileLockMetadata
createdstring
Format
date-timeisLockholderboolean
lockholderAccountIdstring
lockholderNamestring
hasExplicitSharedMembersboolean
idstring
isDownloadableboolean
isRestorableboolean
mediaInfo
com.dropbox.core.v2.files.MediaInfo
metadataValue
com.dropbox.core.v2.files.MediaMetadata
dimensions
location
timeTakenstring
Format
date-timenamestring
parentSharedFolderIdDeprecatedstring
pathDisplaystring
pathLowerstring
previewUrlstring
propertyGroupsarray
com.dropbox.core.v2.fileproperties.PropertyGroup
fieldsarray
com.dropbox.core.v2.fileproperties.PropertyField
namestring
valuestring
templateIdstring
revstring
serverModifiedstring
Format
date-timesharingInfo
com.dropbox.core.v2.files.FileSharingInfo
modifiedBystring
parentSharedFolderIdstring
readOnlyboolean
sizeinteger
symlinkInfo
com.dropbox.core.v2.files.SymlinkInfo
targetstring
uri string
Format
uriDownloaded file URI