Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.SendCmd

TElSimpleFTPSClient     See also     


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


Sends command to the server.

Declaration

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

[VB.NET]
    Function SendCmd(ByVal Command As String, ByVal AcceptCodes As Short()) As Short
    Function SendCmd(ByVal Command As String, ByVal AcceptCodes As Short(), ByVal IntermediateAcceptCodes 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);
    int16_t SendCmd(const std::string &Command, const std::vector<int16_t> &AcceptCodes, const std::vector<int16_t> &IntermediateAcceptCodes);

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

Parameters

  • Command - one of FTP protocol commands or extension command
  • AcceptCodes - a list of server reply codes that are returned on successful command execution.
  • IntermediateAcceptCodes - ...

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