Discuss this help topic in SecureBlackbox Forum

TElSftpClient.ExtensionCmd

TElSftpClient     


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


Executes specific extension command.

Declaration

[C#]
    bool ExtensionCmd(string Extension);
    bool ExtensionCmd(string Extension, byte[] DataBuffer);
    bool ExtensionCmd(byte[] Extension);
    bool ExtensionCmd(byte[] Extension, byte[] DataBuffer);

[VB.NET]
    Function ExtensionCmd(ByVal Extension As String) As Boolean
    Function ExtensionCmd(ByVal Extension As String, ByVal DataBuffer As Byte()) As Boolean
    Function ExtensionCmd(ByVal Extension As Byte()) As Boolean
    Function ExtensionCmd(ByVal Extension As Byte(), ByVal DataBuffer As Byte()) As Boolean

[Pascal]
    function ExtensionCmd(const Extension : string) : boolean;
    function ExtensionCmd(const Extension : string; const DataBuffer: ByteArray) : boolean;

[C++]
    bool ExtensionCmd(const std::string &Extension, void * DataBuffer, int32_t Size);
    bool ExtensionCmd(const std::string &Extension);
    bool ExtensionCmd(const std::string &Extension, const std::vector<uint8_t> &DataBuffer);
    bool ExtensionCmd(const std::vector<uint8_t> &Extension);
    bool ExtensionCmd(const std::vector<uint8_t> &Extension, void * DataBuffer, int32_t Size);
    bool ExtensionCmd(const std::vector<uint8_t> &Extension, const std::vector<uint8_t> &DataBuffer);

[PHP]
    bool ExtensionCmd(string $Extension, TSBPointer|array of byte|string|NULL $DataBuffer, integer $Size)
    bool ExtensionCmd(string $Extension)
    bool ExtensionCmd(string $Extension, array of byte|string|NULL $DataBuffer)
    bool ExtensionCmd(array of byte|string|NULL $Extension)
    bool ExtensionCmd(array of byte|string|NULL $Extension, TSBPointer|array of byte|string|NULL $DataBuffer, integer $Size)
    bool ExtensionCmd(array of byte|string|NULL $Extension, array of byte|string|NULL $DataBuffer)

[Java]
    boolean extensionCmd(byte[] Extension, byte[] DataBuffer);
    boolean extensionCmd(byte[] Extension);
    boolean extensionCmd(String Extension, byte[] DataBuffer);
    boolean extensionCmd(String Extension);

Parameters

  • Extension - the command itself.
  • DataBuffer - buffer with parameters.
  • Size - specifies the size of the buffer in bytes.

Return value

    Returns True if operation was completed successfully, and False otherwise.

Description

    This method executes extension command specific for the server that is not included into standard.

Discuss this help topic in SecureBlackbox Forum