Click or drag to resize
FileStreamUploadStreamContentAsMultiPart Method
Uploads stream's content to Amazon S3 storage as one part of the file in multipart upload process identified by uploadSessionId.

Namespace: CMS.AmazonStorage
Assembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 10.0.0
Syntax
C#
public IEnumerable<string> UploadStreamContentAsMultiPart(
	string uploadSessionId,
	int nextPartNumber
)

Parameters

uploadSessionId
Type: SystemString
Unique identifier for one multipart upload. Can be obtained by InitMultiPartUpload.
nextPartNumber
Type: SystemInt32
Number that defines position of the data obtained by the stream in the whole multipart upload process.

Return Value

Type: IEnumerableString
One unique identifier of the uploaded part in collection.

Implements

IMultiPartUploadStreamUploadStreamContentAsMultiPart(String, Int32)
Remarks
Always returns one ETag in collection. If stream's length is more than 5GB then exception is thrown.
See Also