Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the driver beyond simple SELECT/INSERT/UPDATE/DELETE operations with Dropbox.
Stored procedures accept a list of parameters, perform their intended function, and then return, if applicable, any relevant response data from Dropbox, along with an indication of whether the procedure succeeded or failed.
CData JDBC Driver for Dropbox Stored Procedures
Name | Description |
CheckJobStatus | Check the status of an asynchronous job. Requires the sharing.write scope. |
CopyResource | Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be copied. |
CreateFolder | Create a folder at a given path or create multiple folders at once by providing an ObjectPathsAggregate. |
DeletePermanently | Delete a folder or file permanently. Requires the files.permanent_delete scope. |
DeleteResource | Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. |
DownloadFile | Downloads a File. Requires the files.content.read scope. |
GetOAuthAccessToken | Gets an authentication token from Dropbox. |
GetOAuthAuthorizationURL | Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL. |
GetSpaceUsage | Check the memory space management of your Dropbox account. Requires the account_info.read scope. |
MoveResource | Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be moved. Note that we do not currently support case-only renaming. |
RefreshOAuthAccessToken | Obtains an updated OAuthAccessToken if passed a token to refresh. |
RenameResource | Rename a resource by providing a path and new name. |
ShareFolder | Shares a folder. Requires the sharing.write scope. |
UnshareFolder | Unshares a folder. Requires the sharing.write scope. |
UpdateProperties | Add, update or remove properties associated with the supplied file and templates. |
UploadFile | Uploads a File. Requires the files.content.read scope. |