Click or drag to resize
OssClientResumableUploadObject Method (String, String, String, ObjectMetadata, String, NullableInt64, EventHandlerStreamTransferProgressArgs)
Resumable file upload. It automaticlly uses multipart upload upon big file and also support resume upload after a failed upload.

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public PutObjectResult ResumableUploadObject(
	string bucketName,
	string key,
	string fileToUpload,
	ObjectMetadata metadata,
	string checkpointDir,
	Nullable<long> partSize = null,
	EventHandler<StreamTransferProgressArgs> streamTransferProgress = null
)

Parameters

bucketName
Type: SystemString
Bucket instance
key
Type: SystemString
Key instance
fileToUpload
Type: SystemString
file to upload
metadata
Type: Aliyun.OSSObjectMetadata
OssObject metadata
checkpointDir
Type: SystemString
Check point dir. If it's not specified, then no checkpoint file is saved and thus resumable file upload is not supported.
partSize (Optional)
Type: SystemNullableInt64
Part size. If it's not specified, or the size is smaller than PartSizeLowerLimit then DefaultPartSize is used instead.
streamTransferProgress (Optional)
Type: SystemEventHandlerStreamTransferProgressArgs

[Missing <param name="streamTransferProgress"/> documentation for "M:Aliyun.OSS.OssClient.ResumableUploadObject(System.String,System.String,System.String,Aliyun.OSS.ObjectMetadata,System.String,System.Nullable{System.Int64},System.EventHandler{Aliyun.OSS.StreamTransferProgressArgs})"]

Return Value

Type: PutObjectResult
PutObjectResult instance

Implements

IOssResumableUploadObject(String, String, String, ObjectMetadata, String, NullableInt64, EventHandlerStreamTransferProgressArgs)
See Also