Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

ListParts Method

Lists all parts in a current multipart upload.

Object Oriented Interface

public function doListParts($objectname, $uploadid);

Procedural Interface

incloudstorage_amazons3_do_listparts($res, $objectname, $uploadid);

Remarks

This method lists all the parts in a current multipart upload. The PartList event will be fire once for each part in the current upload as reported by the server. The Parts collection will also be populated. Parts may be inspected to determine various information such as ETag, PartNumber, ObjectName, etc.

This method must be called before calling CompleteMultipartUpload.

By default only the first 1000 parts will be returned. To determine if the results are paged check IsPaged. If the results are paged continue to call ListParts to obtain the next set of parts until IsPaged returns false. The Parts collection will then contain all of the parts for the upload.

To change the default maximum number of parts to be returned set MaxParts.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0