\Qcloud\CosCopy

Summary

Methods
Properties
Constants
__construct()
copy()
uploadParts()
No public properties found
MIN_PART_SIZE
MAX_PART_SIZE
MAX_PARTS
No protected methods found
No protected properties found
N/A
calculatePartSize()
initiateMultipartUpload()
$client
$source
$options
$partSize
$size
N/A

Constants

MIN_PART_SIZE

MIN_PART_SIZE = 5242880

const var: part size from 5MB to 5GB, and max parts of 10000 are allowed for each upload.

MAX_PART_SIZE

MAX_PART_SIZE = 5368709120

MAX_PARTS

MAX_PARTS = 10000

Properties

$client

$client : 

Type

$source

$source : 

Type

$options

$options : 

Type

$partSize

$partSize : 

Type

$size

$size : 

Type

Methods

__construct()

__construct(  $client,   $contentlength,   $source,   $minPartSize,   $options = array()) 

Parameters

$client
$contentlength
$source
$minPartSize
$options

copy()

copy() 

uploadParts()

uploadParts(  $uploadId) 

Parameters

$uploadId

calculatePartSize()

calculatePartSize(  $minPartSize) 

Parameters

$minPartSize

initiateMultipartUpload()

initiateMultipartUpload()