Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.GetObjectTorrent

TElAWSS3DataStorage     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Retrieves torrent file for the object.

Declaration

[C#/Java]
    void GetObjectTorrent(string BucketName, string Key, System.IO.Stream Stream);
    void GetObjectTorrent(TElAWSS3DataStorageObject Obj, System.IO.Stream Stream);
    void GetObjectTorrent(string BucketName, string Key, TElStringList Headers, System.IO.Stream Stream);

[VB.NET]
    Sub GetObjectTorrent(ByVal BucketName As String, ByVal Key As String, ByVal Stream As System.IO.Stream)
    Sub GetObjectTorrent(ByVal Obj As TElAWSS3DataStorageObject, ByVal Stream As System.IO.Stream)
    Sub GetObjectTorrent(ByVal BucketName As String, ByVal Key As String, ByVal Headers As TElStringList, ByVal Stream As System.IO.Stream)

[Pascal]
    procedure GetObjectTorrent(const BucketName : string; const Key : string; Stream : TStream);
    procedure GetObjectTorrent(Obj : TElAWSS3DataStorageObject; Stream : TStream);
    procedure GetObjectTorrent(const BucketName : string; const Key : string; Headers : TStringList; Stream : TStream);

[C++]
    void GetObjectTorrent(const std::string &BucketName, const std::string &Key, TStream &Stream);
    void GetObjectTorrent(const std::string &BucketName, const std::string &Key, TStream *Stream);
    void GetObjectTorrent(TElAWSS3DataStorageObject &Obj, TStream &Stream);
    void GetObjectTorrent(TElAWSS3DataStorageObject *Obj, TStream *Stream);
    void GetObjectTorrent(const std::string &BucketName, const std::string &Key, TElStringList &Headers, TStream &Stream);
    void GetObjectTorrent(const std::string &BucketName, const std::string &Key, TElStringList *Headers, TStream *Stream);

[PHP]
    void GetObjectTorrent(string $BucketName, string $Key, TStream $Stream)
    void GetObjectTorrent(TElAWSS3DataStorageObject $Obj, TStream $Stream)
    void GetObjectTorrent(string $BucketName, string $Key, TElStringList $Headers, TStream $Stream)

Parameters

  • BucketName - name of the bucket that contains the object.
  • Key - a unique identifier of the object within a bucket.
  • Obj - data object for which torrent file is requested.
  • Stream - stream where the torrent file should be stored.
  • Headers - contains custom headers of the HTTP request.

Description

    Use this method to request torrent file for the desired object. Note, that you can get torrent only for objects that are less than 5 GB in size.

Discuss this help topic in SecureBlackbox Forum