IOssPutObject Method (String, String, String) |
Uploads a local file to OSS under the specified bucket
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax PutObjectResult PutObject(
string bucketName,
string key,
string fileToUpload
)
Function PutObject (
bucketName As String,
key As String,
fileToUpload As String
) As PutObjectResult
PutObjectResult^ PutObject(
String^ bucketName,
String^ key,
String^ fileToUpload
)
abstract PutObject :
bucketName : string *
key : string *
fileToUpload : string -> PutObjectResult
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key - fileToUpload
- Type: SystemString
local file path to upload
Return Value
Type:
PutObjectResultPutObjectResult instance
See Also