Skip to content

TTMSFNCCloudBox

Usage

A component that provides access to the Box.com service. It allows to read, create and delete folders as well as read, upload, move, rename, download and delete files.

Note

TTMSFNCCloudBox is unfortunately not supported in TMS WEB Core due to technical limitations of the REST API

Note

UploadResumableFile is unfortunately not supported in Lazarus to technical limitations of the REST API

Authorization information

Client ID, Client Secret, CallBack URL

Properties

Property name Description
Drive A list of files and folders.
Info Account info

Methods

Methods name Description
CreateFolder Create a new folder
Delete Delete a file or folder from the drive
Download Download a file from the drive
GetAccountInfo Retrieve the account info
GetFolderList Retrieve the list of files and folders for the root folder or a specific folder
GetFolderListHierarchical Retrieve the list of files and folders for specific folder and add them to the DDrive list
GetLink Retrieve a direct link to a file
GetShare Retrieve a share URL to a file or folder
Search Search for files and folders based on a query.
Options:
- ExactMatch: indicate if the query should match the filename exactly
- FileNameOnly: indicate if the search applies to the filename only or also to the contents of the file
- FileExtensions: only return files that have one of the given extensions
- Folder: only return results for files in this folder
Upload Upload a file to the drive
Options:
Folder: Optionally provide a folder where the file is uploaded, otherwise the file is uploaded in the root folder
UploadResumableFile Upload a file to the drive in chunks. The upload is resumable and supports large files (multiple GB)
Options:
Folder: Optionally provide a folder where the file is uploaded, otherwise the file is uploaded in the root folder
MoveFile Move a file to a different folder
MoveFileToRoot Move a file to the root folder
RenameFile Rename an existing file