Click or drag to resize
IOssPutObject Method (String, String, String)
Uploads a local file to OSS under the specified bucket

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
PutObjectResult PutObject(
	string bucketName,
	string key,
	string fileToUpload
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Key
fileToUpload
Type: SystemString
local file path to upload

Return Value

Type: PutObjectResult
PutObjectResult instance
See Also