Data.Cloud.AmazonAPI.TAmazonStorageService.InitiateMultipartUpload
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp
| |
| Unit: Data.Cloud.AmazonAPI | |
| Parent: TAmazonStorageService | |
Delphi
function InitiateMultipartUpload(const BucketName, ObjectName: string; Metadata: TStrings = nil;
Headers: TStrings = nil;
ACL: TAmazonACLType = amzbaPrivate;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): string;
C++
System::UnicodeString __fastcall InitiateMultipartUpload(const System::UnicodeString BucketName, const System::UnicodeString ObjectName, System::Classes::TStrings* Metadata = (System::Classes::TStrings*)(0x0), System::Classes::TStrings* Headers = (System::Classes::TStrings*)(0x0), TAmazonACLType ACL = (TAmazonACLType)(0x1), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const TAmazonRegion BucketRegion = System::UnicodeString());
Description
Starts a new multipart upload.
See the comments on InitiateMultipartUploadXML for more information.
InitiateMultipartUpload returns the UploadId to use for subsequent calls.
The following table shows the significance of the parameters:
| Parameter | Description |
|---|---|
|
|
The name of the bucket the object will be in. |
|
|
The name of the object created by this multipart upload. |
|
|
The metadata to set on the resulting object, or nil. |
|
|
Optional headers to set. |
|
|
Optional ACL to set on the resulting object. Default is |
|
|
The optional class for storing response info into. |