Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSServer.OnCommandProcessed

TElSimpleFTPSServer     See also     


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


This event is fired when a command has been processed by the server.

Declaration

[C#]
    event TSBFTPSServerCommandProcessedEvent OnCommandProcessed;
    delegate void TSBFTPSServerCommandProcessedEvent(Object Sender, string Command, int ReplyCode);

[VB.NET]
    Event OnCommandProcessed As TSBFTPSServerCommandProcessedEvent
    Delegate Sub TSBFTPSServerCommandProcessedEvent(ByVal Sender As Object, ByVal Command As String, ByVal ReplyCode As Integer)

[Pascal]
    property OnCommandProcessed : TSBFTPSServerCommandProcessedEvent;
    TSBFTPSServerCommandProcessedEvent = procedure(Sender: TObject; const Command: string; ReplyCode: integer) of object;

[C++]
    void get_OnCommandProcessed(TSBFTPSServerCommandProcessedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCommandProcessed(TSBFTPSServerCommandProcessedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerCommandProcessedEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcCommand, int32_t szCommand, int32_t ReplyCode);

[PHP]
    TSBFTPSServerCommandProcessedEvent|callable|NULL get_OnCommandProcessed()
    void set_OnCommandProcessed(TSBFTPSServerCommandProcessedEvent|callable|NULL $Value)
    callable TSBFTPSServerCommandProcessedEvent(TObject $Sender, string $Command, integer $ReplyCode)

[Java]
    TSBFTPSServerCommandProcessedEvent getOnCommandProcessed();
    void setOnCommandProcessed(TSBFTPSServerCommandProcessedEvent Value);
    TSBFTPSServerCommandProcessedEvent.Callback OnCommandProcessed = new TSBFTPSServerCommandProcessedEvent.Callback() {
        public void TSBFTPSServerCommandProcessedEventCallback(TObject Sender, String Command, int ReplyCode) {
            //...
        }
    }

Parameters

  • Command - contains the command.
  • ReplyCode - contains the reply code that should be sent to client.
  • pcCommand - contains the command.
  • szCommand - the length of pcCommand.

Description

    This event is fired by TElSimpleFTPSServer when it has processed a command from client.

See also:     OnCommandReceived    

Discuss this help topic in SecureBlackbox Forum