API Reference

Media.createMultiPartUpload

Begin a multi part upload with a call to this method, it will return an ID that will need to be used by either completeMultiPartUpload or abortMultiPartUpload.

Note:Minimum chunk size is 5M


Syntax

mixed media.createMultiPartUpload ( mixed vhost, mixed filename, mixed contentType, mixed partInfo, mixed fileData = array(), mixed timeOut = 10, mixed setAvatar = false )

Arguments

NameTypeRequiredDefault valueDescription
vhostmixedRequirednone
filenamemixedRequirednone
contentTypemixedRequirednone
partInfomixedRequirednone
fileDatamixedOptionalarray()
timeOutmixedOptional10
setAvatarmixedOptionalfalse

Sample Response

Code examples

0 comments

Be the first to comment on createMultiPartUpload.

Add a Comment

  • captcha