Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectTorrent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetObjectTorrent(const BucketName, ObjectName: string; ObjectStream: TStream;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean; overload;

C++

bool __fastcall GetObjectTorrent(const System::UnicodeString BucketName, const System::UnicodeString ObjectName, System::Classes::TStream* ObjectStream, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const System::UnicodeString BucketRegion = System::UnicodeString())/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Data.Cloud.AmazonAPI TAmazonStorageService

Description

Writes the stream for the given torrent of the object.

GetObjectTorrent writes the stream for the given object's torrent. You can get the torrent only for objects with a size less than 5 GB.

The method returns the object stream or nil.

The following table shows the significance of the parameters:

Parameter Description

BucketName

The name of the bucket the object is in.

ObjectName

The name of the object to get.

ObjectStream

The stream to write to. Must not be nil.

ResponseInfo

The optional class for storing response info into.

See Also