Skip to main content
Table of Contents

TTMSFNCCloudStellarDataStore.Upload Method

Uploads a local file to a blob field.

API unit family: TMSFNCCloudStellarDataStore Declaring type: TTMSFNCCloudStellarDataStore Inherited from: TTMSFNCCloudCustomStellarDataStore

Overloads

Overload 1

Uploads a local file to a blob field.

FMX.TMSFNCCloudStellarDataStore.hppPascalC++
procedure Upload(ATableID, AEntityID: Int64; AFieldName: string; AFileName: TTMSFNCUtilsFile); overload;
void __fastcall Upload(__int64 ATableID, __int64 AEntityID, System::UnicodeString AFieldName, TTMSFNCUtilsFile AFileName)/* overload */;

Parameters

Name Description
ATableID Identifier of the table containing the entity.
AEntityID Identifier of the entity that receives the blob.
AFieldName Name of the blob field to update.
AFileName Path of the local file to upload.

Overload 2

Uploads stream content to a blob field.

FMX.TMSFNCCloudStellarDataStore.hppPascalC++
procedure Upload(ATableID, AEntityID: Int64; AFieldName: string; AStream: TStream); overload;
void __fastcall Upload(__int64 ATableID, __int64 AEntityID, System::UnicodeString AFieldName, System::Classes::TStream* AStream)/* overload */;

Parameters

Name Description
ATableID Identifier of the table containing the entity.
AEntityID Identifier of the entity that receives the blob.
AFieldName Name of the blob field to update.
AStream Source stream positioned at the data to upload.