Table of Contents

TTMSFNCCloudCloudinary.UploadFileFromResource Method

Uploads an asset from an in-memory resource string and adds the resulting entry to Files when the request succeeds.

API unit family: TMSFNCCloudCloudinary Declaring type: TTMSFNCCloudCloudinary Inherited from: TTMSFNCCustomCloudCloudinary

Syntax

procedure UploadFileFromResource(AFileString: string; AResourceType: TTMSFNCCloudCloudinaryResourceType = crtAuto; AFileName: string = '');

Parameters

Name Description
AFileString Raw content of the asset to upload.
AResourceType Resource type to assign to the upload. Defaults to crtAuto.
AFileName Optional file name to associate with the uploaded content.