Discuss this help topic in SecureBlackbox Forum



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

This event is fired when a client requests for port change.


    event TSBFTPSServerDataPortChangeEvent OnDataPortChange;
    delegate void TSBFTPSServerDataPortChangeEvent(Object Sender, string Address, int Port, ref bool Success);

    Event OnDataPortChange As TSBFTPSServerDataPortChangeEvent
    Delegate Sub TSBFTPSServerDataPortChangeEvent(ByVal Sender As Object, ByVal Address As String, ByVal Port As Integer, ByRef Success As Boolean)

    property OnDataPortChange : TSBFTPSServerDataPortChangeEvent;
    TSBFTPSServerDataPortChangeEvent = procedure (Sender: TObject; const Address : string; Port : integer; var Success : boolean) of object;

    void get_OnDataPortChange(TSBFTPSServerDataPortChangeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDataPortChange(TSBFTPSServerDataPortChangeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerDataPortChangeEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcAddress, int32_t szAddress, int32_t Port, int8_t &Success);

    TSBFTPSServerDataPortChangeEvent|callable|NULL get_OnDataPortChange()
    void set_OnDataPortChange(TSBFTPSServerDataPortChangeEvent|callable|NULL $Value)
    callable TSBFTPSServerDataPortChangeEvent(TObject $Sender, string $Address, integer $Port, bool &$Success)


  • Address - address of the client that performs the request.
  • Port - new port number.
  • Success - set this parameter to True if the request has succeeded, and to False otherwise.
  • pcAddress - address of the client that performs the request.
  • szAddress - the length of pcAddress.


    This event is fired by TElFTPSServer when it has received a request to change port. Use parameter Success to specify whether the request has succeeded.

Discuss this help topic in SecureBlackbox Forum