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.

procedure Upload(ATableID, AEntityID: Int64; AFieldName: string; AFileName: TTMSFNCUtilsFile); 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.

procedure Upload(ATableID, AEntityID: Int64; AFieldName: string; AStream: TStream); 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.