Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnCommandUnhandled

TElFTPSServer     See also     


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


This event is fired when server has failed to execute a command.

Declaration

[C#/Java]
    event TSBFTPSServerCommandUnhandledEvent OnCommandUnhandled;
    delegate void TSBFTPSServerCommandUnhandledEvent(object Sender, string Command, string Parameters, ref bool Ignore);

[VB.NET]
    Event OnCommandUnhandled As TSBFTPSServerCommandUnhandledEvent
    Delegate Sub TSBFTPSServerCommandUnhandledEvent(ByVal Sender As Object, ByVal Command As String, ByVal Parameters As String, ByRef Ignore As Boolean)

[Pascal]
    property OnCommandUnhandled : TSBFTPSServerCommandUnhandledEvent;
    TSBFTPSServerCommandUnhandledEvent = procedure (Sender: TObject; const Command, Parameters : string; var Ignore : boolean) of object;

[C++]
    void get_OnCommandUnhandled(TSBFTPSServerCommandUnhandledEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCommandUnhandled(TSBFTPSServerCommandUnhandledEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerCommandUnhandledEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcCommand, int32_t szCommand, const char * pcParameters, int32_t szParameters, int8_t &Ignore);

[PHP]
    TSBFTPSServerCommandUnhandledEvent|callable|NULL get_OnCommandUnhandled()
    void set_OnCommandUnhandled(TSBFTPSServerCommandUnhandledEvent|callable|NULL $Value)
    callable TSBFTPSServerCommandUnhandledEvent(TObject $Sender, string $Command, string $Parameters, bool &$Ignore)

Parameters

  • Command - contains the command.
  • Parameters - contains command parameters like flags, file names, etc.
  • Ignore - set this parameter to True if the server should ignore the command.
  • pcCommand - contains the command.
  • szCommand - the length of pcCommand.
  • pcParameters - contains command parameters like flags, file names, etc.
  • szParameters - the length of pcParameters.

Description

    This event is fired by TElFTPSServer when it has failed to execute a client's command. Set Ignore to True if the server should not execute the command.

See also:     OnCommandProcessed     OnCommandReceived    

Discuss this help topic in SecureBlackbox Forum