| Did this page help you? Yes No Tell us about it... |
You can abort a multipart upload that is in progress by calling the
AmazonS3::abort_multipart_upload() method. This method
deletes any parts that were uploaded to S3 and frees up the resources. You must
provide the upload ID, bucket name, and the object key to this method. The following
PHP code sample demonstrates how you can abort a multipart upload in
progress.
$s3 = new AmazonS3(); $response = $s3->abort_multipart_upload($bucket, $keyname, $upload_id); print_r($response);