Constants

MIN_PART_SIZE

MIN_PART_SIZE = 1048576

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

MAX_PART_SIZE

MAX_PART_SIZE = 5368709120

DEFAULT_PART_SIZE

DEFAULT_PART_SIZE = 52428800

MAX_PARTS

MAX_PARTS = 10000

Properties

$client

$client

$copySource

$copySource

$options

$options

$partSize

$partSize

$parts

$parts

$size

$size

$commandList

$commandList

$requestList

$requestList

Methods

__construct()

__construct(mixed  $client, mixed  $source, mixed  $options = array()) : mixed

Parameters

mixed $client
mixed $source
mixed $options

Returns

mixed —

copy()

copy() : mixed

Returns

mixed —

uploadParts()

uploadParts(mixed  $uploadId) : mixed

Parameters

mixed $uploadId

Returns

mixed —

calculatePartSize()

calculatePartSize(mixed  $minPartSize) : mixed

Parameters

mixed $minPartSize

Returns

mixed —

initiateMultipartUpload()

initiateMultipartUpload() : mixed

Returns

mixed —