TdxCloudStorageFile Class
A metadata container corresponding to an individual file stored on a connected online cloud storage’s server.
Declaration
TdxCloudStorageFile = class(
TdxCloudStorageItem
)
Remarks
This class has the following members that allow you to:
Identify the stored file’s name and extension (Name and GetExtension).
Obtain the file create and last modification date (CreatedDate and ModifiedDate).
Identify the file’s MIME content type (MIMEType).
Manage access permissions (Permissions).
Identify if the file is within a special folder (Shared and Trashed).
Obtain the file download link generated by the cloud storage service’s server (DownloadLink).
Identify the file size in bytes (FileSize).
Obtain the file type icon URI if the cloud storage service provides icons (IconLink).
Download the stored file from the connected server (DownloadContent).
Replace the stored file’s content with stream data in the compatible format (UploadContent).
Copy, move, or delete the file (CopyTo, Delete, MoveTo, MoveToTrash, or RestoreFromTrash).
The cloud resource collection‘s Items property references a TdxCloudStorageFile class instance as a TdxCloudStorageItem object.