UploadFileRequest Constructor (String, String, String, Int64, Int32, Boolean, String, Boolean) |
Constructor
Namespace:
OBS.Model
Assembly:
esdk_obs_.net (in esdk_obs_.net.dll) Version: 3.19.7.1 (3.19.7.1)
Syntaxpublic UploadFileRequest(
string bucketName,
string objectKey,
string uploadFile,
long partSize,
int taskNum,
bool enableCheckpoint,
string checkpointFile,
bool enableCheckSum
)
Parameters
- bucketName
- Type: SystemString
Bucket name - objectKey
- Type: SystemString
Object name - uploadFile
- Type: SystemString
To-be-uploaded local file - partSize
- Type: SystemInt64
Part size - taskNum
- Type: SystemInt32
Number of upload requests - enableCheckpoint
- Type: SystemBoolean
Whether to enabled the resumable mode - checkpointFile
- Type: SystemString
File used to record progresses of resumable uploads - enableCheckSum
- Type: SystemBoolean
Whether to verify the to-be-uploaded file upon non-initial uploads in resumable upload mode
See Also