OSS使用.NET的SDK上传的时候报错未能解析此远程名称
回 1楼deadbeef的帖子
// 初始化OssClient
var client = new OssClient(endPoint, appKey, appSecret);
try
{
string fileToUpload = openFileDialog1.FileName;
client.PutObject(bucketName, 'aaaa.jpg', fileToUpload);
}
catch (Exception ex)
{
}
赞0
踩0