Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnDataConnectionNeeded

TElFTPSServer     See also     


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


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

Declaration

[C#/Java]
    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)

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