Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.GetRemoteETag

TElAWSS3DataStorage     See also     


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


Retrieves ETag of the remote data object.

Declaration

[C#/Java]
    string GetRemoteETag(string BucketName, string Key);
    string GetRemoteETag(TElAWSS3DataStorageObject Obj);
    string GetRemoteETag(string BucketName, string Key, TElStringList Headers);

[VB.NET]
    Function GetRemoteETag(ByVal BucketName As String, ByVal Key As String) As String
    Function GetRemoteETag(ByVal Obj As TElAWSS3DataStorageObject) As String
    Function GetRemoteETag(ByVal BucketName As String, ByVal Key As String, ByVal Headers As TElStringList) As String

[Pascal]
    function GetRemoteETag(const BucketName : string; const Key : string) : string;
    function GetRemoteETag(Obj : TElAWSS3DataStorageObject) : string;
    function GetRemoteETag(const BucketName : string; const Key : string; Headers : TStringList) : string;

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

[PHP]
    string GetRemoteETag(string $BucketName, string $Key)
    string GetRemoteETag(TElAWSS3DataStorageObject $Obj)
    string GetRemoteETag(string $BucketName, string $Key, TElStringList $Headers)

Parameters

  • BucketName - name of the bucket with object
  • Key - a unique identifier of the object within a bucket
  • Obj - data object for which ETag is requested
  • Headers - contains HTTP headers

Return value

    String that contains ETag of the object.

Description

    Use this method to get ETag (entity tag) of the data object contained in a remote storage.
    The entity tag is an MD5 hash calculated over object's content. It is used to check whether the object has been modified.

See also:     GetLocalETag    

Discuss this help topic in SecureBlackbox Forum