Copy a file or folder to a different location in Dropbox.

yaml
type: "io.kestra.plugin.dropbox.files.Copy"

Copy a file from one location to another.

yaml
id: dropbox_copy
namespace: company.team
tasks:
  - id: copy_file
    type: io.kestra.plugin.dropbox.files.Copy
    accessToken: "{{ secrets.DROPBOX_ACCESS_TOKEN }}"
    from: "/source/template.csv"
    to: "/reports/new_report.csv"
    autorename: false
Properties

Dropbox access token.

The path of the file or folder to be copied.

Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.

The destination path where the file or folder should be copied.

Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.

Default false

If there's a conflict, have the Dropbox server try to autorename the file.

For example, appending (1) or (2).

The metadata of the newly copied file or folder.

Format date-time

The last time the file was modified on Dropbox.

The unique ID of the file or folder.

The file or folder name.

The lower-case version of the path for display.

The file size in bytes.

Null for folders.

The type of the entry.

Can be 'file' or 'folder'.