Table of Contents

TTMSFNCCloudBox.Download Method

Downloads a Box item to a local target file.

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

Overloads

Overload 1

Downloads a Box item to a local target file.

function Download(AItem: TTMSFNCCloudItem; const ATargetFile: string): string; overload; override;

Parameters

Name Description
AItem Box file item to download.
ATargetFile Local path where the downloaded file is saved.

Returns

The local target file path returned by the request.

Overload 2

Downloads a Box file by name or path to a local target file.

function Download(const AFileName: string; const ATargetFile: string): string; overload; override;

Parameters

Name Description
AFileName Box file name or path.
ATargetFile Local path where the downloaded file is saved.

Returns

The local target file path returned by the request.