UploadFile
Uploads a new file to Dropbox or replaces an existing one at the specified path; requires content write access.
Input
| Name | Type | Required | Description |
| LocalFilePath | String | False | The local file system path of the file to upload to Dropbox. |
| FileName | String | False | The name of the file being uploaded. Required if using content; optional if the local file path is provided. |
| Path | String | True | The destination path in the user's Dropbox where the file is saved. |
| AutoRename | Boolean | False | If the value is 'true', Dropbox automatically renames the file to avoid name conflicts, based on the selected write mode. |
| Mode | String | False | Specifies the behavior if the file already exists at the target path, such as overwrite, update, or add.
The allowed values are add, overwrite, update. The default value is add. |
| Mute | Boolean | False | If the value is 'true', suppresses user notifications about the file upload. |
| ClientModified | String | False | The timestamp to record as the client-side modification time in ISO 8601 UTC format (for example, %Y-%m-%dT%H:%M:%SZ). |
| StrictConflict | Boolean | False | If the value is 'true', enables stricter conflict detection for write modes to prevent unintentional overwrites. |
| ContentHash | String | False | A hash value of the file content being uploaded. If provided, Dropbox validates it against the uploaded content and return an error if there's a mismatch. |
| PropertyGroups | String | False | A JSON array (as a string) containing custom property groups to apply to the uploaded file. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns a value of 'true' when the file is uploaded successfully; otherwise, returns 'false'. |
| Name | String | The name of the uploaded file, including its extension. |
| Id | String | The unique identifier of the uploaded file. |
| ClientModified | String | The timestamp set by the client for when the file was last modified before upload. |
| ServerModified | String | The timestamp indicating when the file was last modified on Dropbox servers. |
| Revision | String | A unique revision ID for the uploaded file. |
| Size | String | The size of the uploaded file in bytes. |
| LowerCasePath | String | The lowercase version of the full Dropbox path to the uploaded file. |
| DisplayPath | String | The original cased path of the uploaded file, used for display purposes. |
| PreviewURL | String | The URL for previewing the uploaded file in a browser. |
| IsDownloadable | String | The value is 'true' when the file can be downloaded directly. When 'false', the file must be exported to access its contents. |
| HasExplicitSharedMembers | String | The value is 'true' when the file has explicitly assigned shared members; otherwise, the value is 'false'. |
| ContentHash | String | A hash value of the file content after upload, used to verify data integrity. |