IOssPutBigObject Method (String, String, Stream, ObjectMetadata, NullableInt64) |
Note: This API is now obsolete.
Deprecated method. Use ResumableUploadObject instead.
Upload the specified file to OSS.
If the file size is same or less than the part size, use normal file upload instead.
Otherwise it will use multipart file upload.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax [ObsoleteAttribute("PutBigObject is deprecated, please use ResumableUploadObject instead")]
PutObjectResult PutBigObject(
string bucketName,
string key,
Stream content,
ObjectMetadata metadata,
Nullable<long> partSize = null
)
<ObsoleteAttribute("PutBigObject is deprecated, please use ResumableUploadObject instead")>
Function PutBigObject (
bucketName As String,
key As String,
content As Stream,
metadata As ObjectMetadata,
Optional partSize As Nullable(Of Long) = Nothing
) As PutObjectResult
[ObsoleteAttribute(L"PutBigObject is deprecated, please use ResumableUploadObject instead")]
PutObjectResult^ PutBigObject(
String^ bucketName,
String^ key,
Stream^ content,
ObjectMetadata^ metadata,
Nullable<long long> partSize = nullptr
)
[<ObsoleteAttribute("PutBigObject is deprecated, please use ResumableUploadObject instead")>]
abstract PutBigObject :
bucketName : string *
key : string *
content : Stream *
metadata : ObjectMetadata *
?partSize : Nullable<int64>
(* Defaults:
let _partSize = defaultArg partSize null
*)
-> PutObjectResult
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key - content
- Type: System.IOStream
Content - metadata
- Type: Aliyun.OSSObjectMetadata
OssObject metadata - partSize (Optional)
- Type: SystemNullableInt64
Part size. If it's not specified or the value is less than PartSizeLowerLimit,
then use DefaultPartSize instead.
Return Value
Type:
PutObjectResultPutObjectResult instance
See Also