Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnName

TElSftpClient     See also     


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


This event is fired when the server returns name of the file or directory.

Declaration

[C#]
    event TSBSftpNameEvent OnName;
    delegate void TSBSftpNameEvent(Object Sender, TElSftpFileInfo FileInfo);

[VB.NET]
    Event OnName As TSBSftpNameEvent
    Delegate Sub TSBSftpNameEvent(ByVal Sender As Object, ByVal FileInfo As TElSftpFileInfo)

[Pascal]
    property OnName : TSBSftpNameEvent;
    TSBSftpNameEvent = procedure (Sender: TObject; FileInfo : TElSftpFileInfo) of object;

[C++]
    void get_OnName(TSBSftpNameEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnName(TSBSftpNameEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpNameEvent)(void * _ObjectData, TObjectHandle Sender, TElSftpFileInfoHandle FileInfo);

[PHP]
    TSBSftpNameEvent|callable|NULL get_OnName()
    void set_OnName(TSBSftpNameEvent|callable|NULL $Value)
    callable TSBSftpNameEvent(TObject $Sender, TElSftpFileInfo $FileInfo)

[Java]
    TSBSftpNameEvent getOnName();
    void setOnName(TSBSftpNameEvent Value);
    TSBSftpNameEvent.Callback OnName = new TSBSftpNameEvent.Callback() {
        public void TSBSftpNameEventCallback(TObject Sender, TElSftpFileInfo FileInfo) {
            //...
        }
    }

Parameters

  • FileInfo - object containing file/directory info

Description

    This event is fired by TElSftpClient when SFTP server returns a reply to client's requests such as user home directory or temp directory.

See also:     QueryHomeDirectory     RequestTempFolder    

Discuss this help topic in SecureBlackbox Forum