Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is used to send commands to the control channel.


    event TSBSendEvent OnCmdSend;
    delegate void TSBSendEvent(Object Sender, byte[] Buffer);

    Event OnCmdSend As TSBSendEvent
    Delegate Sub TSBSendEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnCmdSend : TSBSendEvent;
    TSBSendEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

    void get_OnCmdSend(TSBSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCmdSend(TSBSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBSendEvent|callable|NULL get_OnCmdSend()
    void set_OnCmdSend(TSBSendEvent|callable|NULL $Value)
    callable TSBSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

    TSBSendEvent getOnCmdSend();
    void setOnCmdSend(TSBSendEvent Value);
    TSBSendEvent.Callback OnCmdSend = new TSBSendEvent.Callback() {
        public void TSBSendEventCallback(TObject arg0, byte[] arg1) {


  • Buffer - the block of data to be written to the socket.
  • Size - the length of the buffer in bytes.


    This event is fired by TElFTPSServer when it needs to send some data via the control channel.

See also:     OnCmdReceive    

Discuss this help topic in SecureBlackbox Forum