JDBC Driver for Dropbox

Build 22.0.8462

UploadFile

Uploads a File. Requires the files.content.read scope.

Input

Name Type Required Accepts Input Streams Description
LocalFilePath String False False Path of the local file to be uploaded to Dropbox
Content String False True Alternative to LocalFilePath. The InputStream to read the file bytes from.
FileName String False False The name of the file. Required for Content. Optional if LocalFilePath is specified.
Path String True False Path in the user's Dropbox to save the file.
AutoRename Boolean False False If there's a conflict, as determined by mode, have the Dropbox server try to automatically rename the file to avoid conflict.
Mode String False False Selects what to do if the file already exists.

The allowed values are add, overwrite, update.

The default value is add.

Mute Boolean False False If true, this tells the clients that this modification shouldn't result in a user notification.
ClientModified String False False Timestamp (format=%Y-%m-%dT%H:%M:%SZ). The value to store as the client_modified timestamp.
StrictConflict Boolean False False Be more strict about how each WriteMode detects conflict.
ContentHash String False False A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned.
PropertyGroups String False False List of custom properties to add to file, a valid JSON array as a string.

Result Set Columns

Name Type Description
Success String Whether or not the file was successfully uploaded.
Name String The name of the file (including extension).
Id String A unique identifier for the file.
ClientModified String The modification time set by the desktop client when the file was added to Dropbox.
ServerModified String The last time the file was modified on Dropbox.
Revision String A unique identifier for the current revision of a file.
Size String The file size in bytes.
LowerCasePath String The lowercased full path in the user's Dropbox.
DisplayPath String The cased path to be used for display purposes only.
PreviewURL String The preview URL of the file.
IsDownloadable String If true, file can be downloaded directly; else the file must be exported.
HasExplicitSharedMembers String If true, the results will include a flag for each file indicating whether or not that file has any explicit members.
ContentHash String A hash of the file content.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462