Click or drag to resize
OssClientCopyBigObject Method
已废弃,请使用ResumableCopyObject。 拷贝指定的大文件:OssObject到指定的Bucket。 如果拷贝的文件大小小于或等于分片大小,则会使用普通拷贝,只需拷贝一次即可。 如果拷贝文件大小大于分片大小,则会使用分片拷贝。

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public CopyObjectResult CopyBigObject(
	CopyObjectRequest copyObjectRequest,
	Nullable<long> partSize = null,
	string checkpointDir = null
)

Parameters

copyObjectRequest
Type: Aliyun.OSSCopyObjectRequest
请求对象
partSize (Optional)
Type: SystemNullableInt64
分片大小,如果用户不指定,则使用DefaultPartSize。 如果用户指定的partSize小于PartSizeLowerLimit,这会调整到PartSizeLowerLimit
checkpointDir (Optional)
Type: SystemString
保存断点续传中间状态文件的目录,如果指定了,则具有断点续传功能,否则每次都会重新拷贝

Return Value

Type: CopyObjectResult
CopyObjectResult实例。

Implements

IOssCopyBigObject(CopyObjectRequest, NullableInt64, String)
See Also