
Download
Download
yaml
type: "io.kestra.plugin.dropbox.files.Download"Examples
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"
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
from*RequiredNon-dynamicobject
Outputs
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
mediaInfo
com.dropbox.core.v2.files.MediaInfo
metadataValue
com.dropbox.core.v2.files.MediaMetadata
dimensions
location
timeTakenstring
Format
date-timenamestring
parentSharedFolderIdstring
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
uristring
Format
uri