yaml
type: "io.kestra.plugin.dropbox.files.Upload"
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
Defaultfalse
DefaultADD
Definitions
clientModifiedstring
Formatdate-time
contentHashstring
exportInfo
exportAsstring
exportOptionsarray
SubTypestring
fileLockInfo
createdstring
Formatdate-time
isLockholderboolean
lockholderAccountIdstring
lockholderNamestring
hasExplicitSharedMembersboolean
idstring
isDownloadableboolean
mediaInfo
metadataValue
dimensions
location
timeTakenstring
Formatdate-time
namestring
parentSharedFolderIdstring
pathDisplaystring
pathLowerstring
previewUrlstring
propertyGroupsarray
fieldsarray
namestring
valuestring
templateIdstring
revstring
serverModifiedstring
Formatdate-time
sharingInfo
modifiedBystring
parentSharedFolderIdstring
readOnlyboolean
sizeinteger
symlinkInfo
targetstring