Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

Sets the attributes for a specified open file


    bool SetAttributesByHandle(byte[] Handle, TElSftpFileAttributes Attributes);

    Function SetAttributesByHandle(ByVal Handle As Byte(), ByVal Attributes As TElSftpFileAttributes) As Boolean

    function SetAttributesByHandle(const Handle: TSBSftpFileHandle; Attributes: TElSftpFileAttributes):Boolean;
    procedure SetAttributesByHandleSync(const Handle: TSBSftpFileHandle; Attributes: TElSftpFileAttributes);
    type TSBSftpFileHandle = ByteArray;

    bool SetAttributesByHandle(const std::vector<uint8_t> &Handle, TElSftpFileAttributes &Attributes);
    bool SetAttributesByHandle(const std::vector<uint8_t> &Handle, TElSftpFileAttributes *Attributes);

    bool SetAttributesByHandle(array of byte|string|NULL $Handle, TElSftpFileAttributes $Attributes)

    boolean setAttributesByHandle(byte[] Handle, TElSftpFileAttributes Attributes);


  • Handle - handle of the open file
  • Attributes - specifies the new attributes for a file

Return value

    True if operation was completed successfully;
    False otherwise.


    Use this method to set attributes for a specified open file. If the attributes were successfully set, the OnSuccess event is fired. The OnError event is fired otherwise.

See also:     SetAttributes     RequestAttributes    

Discuss this help topic in SecureBlackbox Forum