Discuss this help topic in SecureBlackbox Forum

TElFTPSServerMessageTable.SetMessage

TElFTPSServerMessageTable     See also     


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


Changes server message.

Declaration

[C#/Java]
    void SetMessage(int Code, string Msg);
    void SetMessage(int Code, string Msg, string Command);

[VB.NET]
    Sub SetMessage(ByVal Code As Integer, ByVal Msg As String)
    Sub SetMessage(ByVal Code As Integer, ByVal Msg As String, ByVal Command As String)

[Pascal]
    procedure SetMessage(Code : integer; const Msg : string);
    procedure SetMessage(Code : integer; const Msg : string; const Command : string);

[C++]
    void SetMessage(int32_t Code, const std::string &Msg);
    void SetMessage(int32_t Code, const std::string &Msg, const std::string &Command);

[PHP]
    void SetMessage(integer $Code, string $Msg)
    void SetMessage(integer $Code, string $Msg, string $Command)

Parameters

  • Code - reply code for which the message should be added or modified
  • Msg - message text
  • Command - command to which the reply message (and code) should be added or modified

Description

    Use this method to add new or change existing server reply message. For each Command there may be different messages, each corresponding to certain reply Code.
    To check the message corresponding to certain code in the existing table, use GetMessage method.
    Use Greeting property to get or set server's greeting message.

See also:     GetMessage     Greeting    

Discuss this help topic in SecureBlackbox Forum