SetUploadSegment

Description

Configures how segmented upload is done.

Syntax

.SetUploadSegment(segementUploadThreshold, moduleSize);

Parameters

<int> segementUploadThreshold: specifies the threshold (in MB) over which segmented upload will be invoked. The default value is 500MB.
<int> moduleSize: specifies the size of each segment (in KB). The default is 30720KB (30MB).

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

See also

HTTPUpload

For more information about how to upload large images with segments, please refer to this KB article.

Is this page helpful?

Leave a Reply

Your email address will not be published.