TTMSFNCCustomCloudBox Class
Base storage component that exposes file and folder operations against the Box cloud service, including listing, search, upload, download, move, rename, delete, sharing, and account information.
API unit family: TMSFNCCloudBox
Inherits from: TTMSFNCCloudStorage
Syntax
TTMSFNCCustomCloudBox = class(TTMSFNCCloudStorage)
Properties
| Name | Description |
|---|---|
| BDrive | Returns the current Box drive item collection. |
| Info | Gets or sets the latest Box account information. |
| PromiseFileInfo | Returns the file metadata resolved by the most recent file-info promise. |
Methods
| Name | Description |
|---|---|
| CreateFolder | Creates a folder below the specified Box folder. |
| CreateFolderPromise | Creates a folder asynchronously and returns a promise that resolves when the request completes. |
| Delete | Deletes a Box item. |
| Download | Downloads a Box item to a local target file. |
| GetAccountInfo | Requests account information for the connected Box account. |
| GetAccountInfoPromise | Requests account information asynchronously and returns a promise that resolves when the request completes. |
| GetDriveInfo | Requests drive quota and usage information for the connected Box account. |
| GetFileByID | Returns a Box item by item identifier. |
| GetFileInfo | Requests metadata for a Box file by name or path. |
| GetFileInfoPromise | Requests file metadata asynchronously and returns a promise that resolves when the request completes. |
| GetFolderInfo | Requests metadata for a Box folder. |
| GetFolderInfoPromise | Requests folder metadata asynchronously and returns a promise that resolves when the request completes. |
| GetFolderList | Returns the items in a Box folder. |
| GetFolderListHierarchical | Returns a hierarchical Box folder listing. |
| GetFolderListHierarchicalPromise | Lists a folder hierarchically and asynchronously and returns a promise that resolves when the request completes. |
| GetFolderListPromise | Lists a folder asynchronously and returns a promise that resolves when the request completes. |
| GetLink | Requests a shared link for a Box item. |
| GetLinkPromise | Requests a shared link for an item asynchronously and returns a promise that resolves with the link. |
| GetShare | Requests a share URL for a Box item. |
| GetSharePromise | Requests a share URL for an item asynchronously and returns a promise that resolves with the share URL. |
| GetTestTokensResult | Returns whether a Box token-test request succeeded. |
| MoveFile | Moves a Box item to another folder. |
| MoveFileToRoot | Moves a Box item to the root folder. |
| RenameFile | Renames a Box item. |
| Search | Searches Box items in a folder. |
| SearchList | Searches Box items and returns the result list. |
| SearchListPromise | Searches items asynchronously and returns a promise that resolves when the request completes. |
| SearchPromise | Searches items in a folder asynchronously and returns a promise that resolves when the request completes. |
| TestTokens | Tests the current Box tokens and optionally reports the request result. |
| Upload | Uploads a local file to a Box folder. |