OssClientPutObject 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 public PutObjectResult PutObject(
string bucketName,
string key,
string fileToUpload
)
Public Function PutObject (
bucketName As String,
key As String,
fileToUpload As String
) As PutObjectResult
public:
virtual PutObjectResult^ PutObject(
String^ bucketName,
String^ key,
String^ fileToUpload
) sealed
abstract PutObject :
bucketName : string *
key : string *
fileToUpload : string -> PutObjectResult
override 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
Implements
IOssPutObject(String, String, String)See Also