Table of Contents

TTMSFNCCloudBox.GetFileInfoPromise Method

Requests file metadata asynchronously and returns a promise that resolves when the request completes.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCloudBox Inherited from: TTMSFNCCustomCloudBox

Syntax

function GetFileInfoPromise(const AFileName: string): IPromise<TVoid>;

Parameters

Name Description
AFileName File name or path to retrieve metadata for.

Returns

A promise that resolves when the file-info request finishes.