Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

UploadPart Method

Uploads a part in a multipart upload.

Syntax

[VB.NET]
Public Sub UploadPart(ByVal ObjectName As String, ByVal PartNumber As Integer, ByVal UploadId As String)
[C#]
public void UploadPart(string objectName, int partNumber, string uploadId);

Remarks

This method uploads a part in a multipart upload. When called, this method will upload the part data specified by LocalFile, SetUploadStream, or ObjectData.

UploadId identifies the upload with which the part is associated. UploadId is returned by the StartMultipartUpload method.

PartNumber specifies the part within the multipart upload. This must be a value from 1 to 10,000 inclusive. If a previous part was uploading using the same PartNumber it will be overwritten.

ObjectName specifies the name of the object to which this part applies.

Individual parts must be at least 5 MB in size. The only exception to this is the last part in a multipart upload. The last part has no size restrictions.

If IncludePartMD5 is set to true the component will include the MD5 digest value when sending data to the server. The server will then verify that the data was received without corruption.

NOTE: This method has a corresponding asynchronous version (UploadPartAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0