Skip to main content
Table of Contents

TTMSMCPCustomCloudBase.GetUploadFileSize Method

Returns the total size in bytes of the file to be uploaded for the given request.

API unit family: TMS.MCP.CloudBase Declaring type: TTMSMCPCustomCloudBase

Syntax

TMS.MCP.CloudBase.hppPascalC++
function GetUploadFileSize(const ARequest: TTMSMCPCloudBaseRequest): Int64; virtual;
virtual __int64 __fastcall GetUploadFileSize(TTMSMCPCloudBaseRequest* const ARequest);

Parameters

Name Description
ARequest The request whose upload file size is queried.

Returns

Total byte count of the file attached to ARequest, or 0 if no file is attached.