Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnDataConnectionNeeded

TElFTPSServer     See also     


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


This event is fired when a new data connection is needed.

Declaration

[C#]
    event TSBFTPSServerDataConnectionNeededEvent OnDataConnectionNeeded;
    delegate void TSBFTPSServerDataConnectionNeededEvent(Object Sender, ref TSBFTPSConnectionStatus Status);

[VB.NET]
    Event OnDataConnectionNeeded As TSBFTPSServerDataConnectionNeededEvent
    Delegate Sub TSBFTPSServerDataConnectionNeededEvent(ByVal Sender As Object, ByRef Status As TSBFTPSConnectionStatus)

[Pascal]
    property OnDataConnectionNeeded : TSBFTPSServerDataConnectionNeededEvent;
    TSBFTPSServerDataConnectionNeededEvent = procedure (Sender: TObject; var Status : TSBFTPSConnectionStatus) of object;

[C++]
    void get_OnDataConnectionNeeded(TSBFTPSServerDataConnectionNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDataConnectionNeeded(TSBFTPSServerDataConnectionNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerDataConnectionNeededEvent)(void * _ObjectData, TObjectHandle Sender, TSBFTPSConnectionStatusRaw &Status);

[PHP]
    TSBFTPSServerDataConnectionNeededEvent|callable|NULL get_OnDataConnectionNeeded()
    void set_OnDataConnectionNeeded(TSBFTPSServerDataConnectionNeededEvent|callable|NULL $Value)
    callable TSBFTPSServerDataConnectionNeededEvent(TObject $Sender, integer &$Status)

[Java]
    TSBFTPSServerDataConnectionNeededEvent getOnDataConnectionNeeded();
    void setOnDataConnectionNeeded(TSBFTPSServerDataConnectionNeededEvent Value);
    TSBFTPSServerDataConnectionNeededEvent.Callback OnDataConnectionNeeded = new TSBFTPSServerDataConnectionNeededEvent.Callback() {
        public TSBFTPSConnectionStatus TSBFTPSServerDataConnectionNeededEventCallback(TObject Sender) {
            //...
        }
    }

Parameters

  • Status - specifies current connection status.

TSBFTPSConnectionStatusRaw values


Description

    This event is fired by TElFTPSServer when it needs a new data connection to be established.

See also:     OnDataConnectionClose    

Discuss this help topic in SecureBlackbox Forum