Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

This event is fired when a portion of directory listing is received.


    event TSBSftpDirectoryListingEvent OnDirectoryListing;
    delegate void TSBSftpDirectoryListingEvent(object Sender, TElSftpFileInfo[] Listing);

    Event OnDirectoryListing As TSBSftpDirectoryListingEvent
    Delegate Sub TSBSftpDirectoryListingEvent(ByVal Sender As Object, ByVal Listing As TElSftpFileInfo())

    property OnDirectoryListing : TSBSftpDirectoryListingEvent;
    TSBSftpDirectoryListingEvent = procedure (Sender: TObject; Listing : array of TElSftpFileInfo) of object;

    void get_OnDirectoryListing(TSBSftpDirectoryListingEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDirectoryListing(TSBSftpDirectoryListingEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpDirectoryListingEvent)(void * _ObjectData, TObjectHandle Sender, const TElSftpFileInfoHandle pListing[], int32_t szListing);

    TSBSftpDirectoryListingEvent|callable|NULL get_OnDirectoryListing()
    void set_OnDirectoryListing(TSBSftpDirectoryListingEvent|callable|NULL $Value)
    callable TSBSftpDirectoryListingEvent(TObject $Sender, array of TElSftpFileInfo $Listing)


  • Listing - array of TElSftpFileInfo objects
  • pListing -
  • szListing - the length of pcListing.


    This event is fired by TElSftpClient when server notifies that the next portion of directory listing is arrived. This event follows the call to ReadDirectory routine unless the complete listing is received.
    If there are no more entries to return, OnError event is fired with error code SSH_ERROR_EOF.

See also:     ReadDirectory     OnError    

Discuss this help topic in SecureBlackbox Forum