Skip to main content
Table of Contents

TTMSFNCCustomCloudBox.Download Method

Downloads a Box item to a local target file.

API unit family: TMSFNCCloudBox Declaring type: TTMSFNCCustomCloudBox

Overloads

Overload 1

Downloads a Box item to a local target file.

FMX.TMSFNCCloudBox.hppPascalC++
function Download(AItem: TTMSFNCCloudItem; const ATargetFile: string): string; overload; override;
virtual System::UnicodeString __fastcall Download(TTMSFNCCloudItem* AItem, const System::UnicodeString ATargetFile)/* overload */;

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.

FMX.TMSFNCCloudBox.hppPascalC++
function Download(const AFileName: string; const ATargetFile: string): string; overload; override;
virtual System::UnicodeString __fastcall Download(const System::UnicodeString AFileName, const System::UnicodeString ATargetFile)/* overload */;

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.