Upload File

Upload a file to Dropbox for Business.

Options

Field Definition Type Required
Upload Mode Indicates what to do if the file already exists. Options are Add, Overwrite, or Update. Dropdown TRUE
Rename? If there's a conflict, as determined by mode, indicates whether the Dropbox server tries to autorename the file to avoid conflict. Dropdown TRUE
Mute Notifications? Users are made aware of any file modifications in their Dropbox account via notifications in the client software. If set to True, this tells the clients that this modification shouldn't result in a user notification. Dropdown TRUE

Input

Field Definition Type Required
File
Name Name of the uploaded file; for example, Prime_Numbers.txt. String TRUE
Path Display path of the location for the uploaded file; for example, /Homework/math/Prime_Numbers.txt. String TRUE
File Content File contents that you want to upload from the Workflows file system. File TRUE
Caution

A file must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.

The Dropbox for Business API has a limit of 150 MB for file uploads.

Output

Field Definition Type
File
Name Name of the uploaded file; for example, Prime_Numbers.txt. String
File ID Unique identifier for the uploaded file; for example, id:a4ayc_80_OEAAAAAAAAAXw. String
Path Display path of the uploaded file; for example, /Homework/math/Prime_Numbers.txt. String
Revision Number Unique identifier for the current revision of the uploaded file; for example, rev:a1c10ce0dd78.

This value is the same revision number as elsewhere in the Dropbox for Business API and can be used to detect changes and avoid conflicts.

String
Client Time Modified Value of the client_modified timestamp. Dropbox automatically records the time at which the file was written to the Dropbox servers. It can also record an additional timestamp, provided by Dropbox desktop clients, mobile clients, and API apps of when the file was actually created or modified. The timestamp is in the format Y-%m-%dT%H:%M:%SZ. Date &Time
Server Time Modified Last time the file was modified on Dropbox. The timestamp is in the format Y-%m-%dT%H:%M:%SZ. Date &Time
Size File size in bytes. String

Related topics

Dropbox for Business connector

Workflow elements

Dropbox Developer Documentation