Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectTorrent
Delphi
function GetObjectTorrent(const BucketName, ObjectName: string; ObjectStream: TStream; ResponseInfo: TCloudResponseInfo = nil; 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), TAmazonRegion BucketRegion = (TAmazonRegion)(0x0))/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonStorageService |
Description
Ecrit le flux pour le torrent donné de l'objet.
GetObjectTorrent écrit le flux pour le torrent de l'objet donné. Le torrent ne peut être obtenu que pour les objets dont la taille ne dépasse pas 5 Go.
La méthode renvoie le flux de l'objet ou nil.
Le tableau suivant présente la signification des paramètres :
Paramètre | Description |
---|---|
|
Le nom du compartiment où se trouve l'objet. |
|
Le nom de l'objet à obtenir. |
|
Le flux dans lequel écrire. Ne doit pas avoir la valeur nil. |
|
La classe facultative dans laquelle stocker les informations sur la réponse. |
Voir aussi
- System.Classes.TStream
- Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectACLXML
- Data.Cloud.AmazonAPI.TAmazonStorageService.CopyObject
- Data.Cloud.AmazonAPI.TAmazonStorageService.UploadObject
- Data.Cloud.AmazonAPI.TAmazonStorageService.GetObjectACL
- Data.Cloud.AmazonAPI.TAmazonStorageService.DeleteObject
- Introduction to Amazon S3 (amazonwebservices.com) (EN)