List Multipart Uploads Using the Low-Level AWS SDK for PHP API
This topic guides you through using the low-level API classes from the AWS SDK for PHP to list all in-progress multipart uploads on a bucket.
This topic assumes that you are already following the instructions for Using the AWS SDK for PHP and Running PHP Examples and have the AWS SDK for PHP properly installed.
PHP SDK Low-Level API Multipart Uploads Listing Process
The following PHP code sample demonstrates listing all in-progress multipart uploads on a bucket.
use Aws\S3\S3Client; $s3 = S3Client::factory(); $bucket = '
*** Your Bucket Name ***'; $result = $s3->listMultipartUploads(array('Bucket' => $bucket)); print_r($result->toArray());