Discuss this help topic in SecureBlackbox Forum

TElSFTPServer.OnOpen

TElSFTPServer     See also     


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


This event is fired when SFTP connection is successfully established.

Declaration

[C#]
    event TNotifyEvent OnOpen;
    delegate void TNotifyEvent(Object Sender);

[VB.NET]
    Event OnOpen As TNotifyEvent
    Delegate Sub TNotifyEvent(ByVal Sender As Object)

[Pascal]
    property OnOpen: TNotifyEvent;

[C++]
    void get_OnOpen(TNotifyEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOpen(TNotifyEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TNotifyEvent)(void * _ObjectData, TObjectHandle Sender);

[PHP]
    TNotifyEvent|callable|NULL get_OnOpen()
    void set_OnOpen(TNotifyEvent|callable|NULL $Value)
    callable TNotifyEvent(TObject $Sender)

[Java]
    TNotifyEvent getOnOpen();
    void setOnOpen(TNotifyEvent Value);
    TNotifyEvent.Callback OnOpen = new TNotifyEvent.Callback() {
        public void TNotifyEventCallback(TObject Sender) {
            //...
        }
    }

Description

    This event is fired by TElSFTPServer when the negotiation is successfully completed. After this event is fired the file operations may be performed.

See also:     OnClose     Open    

Discuss this help topic in SecureBlackbox Forum