Discuss this help topic in SecureBlackbox Forum

TElAS3Client.SendCmd

TElAS3Client     See also     


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


Sends command to the server.

Declaration

[C#/Java]
    short SendCmd(string Command, short[] AcceptCodes);

[VB.NET]
    Function SendCmd(ByVal Command As String, ByVal AcceptCodes As Short()) As Short

[Pascal]
    function SendCmd(const Command: string; AcceptCodes: array of SmallInt): SmallInt;

[C++]
    int16_t SendCmd(const std::string &Command, const std::vector<int16_t> &AcceptCodes);

[PHP]
    integer SendCmd(string $Command, array of int16|NULL $AcceptCodes)

Parameters

  • Command - one of FTP protocol commands or extension command
  • AcceptCodes - server returning codes which are waited on successful command execution.

Return value

    Command execution result in case of success (if the result is included to AcceptCodes list), otherwise the EElFTPSError is raised.

Description

    Use this method to send command to the server.

See also:     Send    

Discuss this help topic in SecureBlackbox Forum