API Reference

Media.abortMultiPartUpload

This should be used if the multi part upload should be cancelled.

By calling this method, the file will be set to status 5 (Incomplete Upload), and all previously uploaded chunks will be deleted


Syntax

ARRAY/ media.abortMultiPartUpload ( INT vhost, INT id )

Arguments

NameTypeRequiredDefault valueDescription
vhostINTRequirednoneThe vhost ID.
idINTRequirednoneThe media id returned from createMultiPartUpload method.

Response

.

NameTypeDescriptionDefault Values
statusBOOLWill return false, if there is a failure, otherwise true. boolean
causeSTRINGWill only return in the event of a failure with the reason. string

Sample Response

Code examples

0 comments

Be the first to comment on abortMultiPartUpload.

Add a Comment

  • captcha