Move a file or folder to a different location in Dropbox.
type: "io.kestra.plugin.dropbox.files.Move"Examples
Move a file from one location to another.
id: dropbox_move
namespace: company.team
tasks:
- id: move_file
type: io.kestra.plugin.dropbox.files.Move
accessToken: "{{ secrets.DROPBOX_ACCESS_TOKEN }}"
from: "/source/report.csv"
to: "/archive/report_q1.csv"
autorename: false
Properties
accessToken *Requiredstring
Dropbox access token.
from *RequiredNon-dynamicobject
The path of the file or folder to be moved.
Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.
to *RequiredNon-dynamicobject
The destination path where the file or folder should be moved.
Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.
allowOwnershipTransfer booleanstring
falseAllow move to be performed even if it is between two different users.
autorename booleanstring
falseIf there's a conflict, have the Dropbox server try to autorename the file.
For example, appending (1) or (2).
Outputs
file DropboxFile
The metadata of the moved file or folder.
Definitions
io.kestra.plugin.dropbox.models.DropboxFile
clientModified string
date-timeThe last time the file was modified on Dropbox.
id string
The unique ID of the file or folder.
name string
The file or folder name.
path string
The lower-case version of the path for display.
size integer
The file size in bytes.
Null for folders.
type string
The type of the entry.
Can be 'file' or 'folder'.