点击或拖拽改变大小

UploadFileRequest 构造函数 (String, String, String, Int64, Int32, Boolean, String)

构造函数。

命名空间:  OBS.Model
程序集:  esdk_obs_.net (在 esdk_obs_.net.dll 中) 版本:3.19.7.1 (3.19.7.1)
语法
C#
public UploadFileRequest(
	string bucketName,
	string objectKey,
	string uploadFile,
	long partSize,
	int taskNum,
	bool enableCheckpoint,
	string checkpointFile
)

参数

bucketName
类型:SystemString
桶名
objectKey
类型:SystemString
对象名
uploadFile
类型:SystemString
待上传的本地文件
partSize
类型:SystemInt64
分片大小
taskNum
类型:SystemInt32
上传任务数
enableCheckpoint
类型:SystemBoolean
是否开启断点续传模式
checkpointFile
类型:SystemString
断点续传模式下,记录上传进度的文件
参见