Skip to main content
Table of Contents

TTMSFNCCustomCloudDropBox.Download Method

Downloads an item to a local file.

API unit family: TMSFNCCloudDropBox Declaring type: TTMSFNCCustomCloudDropBox

Overloads

Overload 1

Downloads an item to a local file.

FMX.TMSFNCCloudDropBox.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 Item to download.
ATargetFile Local path where the content is written.

Returns

The local target path.

Overload 2

Downloads a file identified by its path to a local file.

FMX.TMSFNCCloudDropBox.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 Full path of the file to download.
ATargetFile Local path where the content is written.

Returns

The local target path.