Discuss this help topic in SecureBlackbox Forum


TElSFTPServer     See also     

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

This event is fired when your software has to search for more than one element with specified criteria.


    event TElSFTPServerFindNextEvent OnFindNext;
    delegate void TElSFTPServerFindNextEvent(Object Sender, Object Data, TElSftpFileInfo Info, ref int ErrorCode, ref string Comment);

    Event OnFindNext As TElSFTPServerFindNextEvent
    Delegate Sub TElSFTPServerFindNextEvent(ByVal Sender As Object, ByVal Data As Object, ByVal Info As TElSftpFileInfo, ByRef ErrorCode As Integer, ByRef Comment As String)

    property OnFindNext: TSBSFTPServerFindNextEvent;
    TSBSFTPServerFindNextEvent = procedure(Sender : TObject; Data : pointer; Info : TElSftpFileInfo; var ErrorCode : integer; var Comment : string) of object;

    void get_OnFindNext(TElSFTPServerFindNextEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFindNext(TElSFTPServerFindNextEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElSFTPServerFindNextEvent)(void * _ObjectData, TObjectHandle Sender, void * Data, TElSftpFileInfoHandle Info, int32_t &ErrorCode, char * pcComment, int32_t &szComment);

    TElSFTPServerFindNextEvent|callable|NULL get_OnFindNext()
    void set_OnFindNext(TElSFTPServerFindNextEvent|callable|NULL $Value)
    callable TElSFTPServerFindNextEvent(TObject $Sender, TSBPointer|NULL $Data, TElSftpFileInfo $Info, integer &$ErrorCode, string &$Comment)


  • Data - Data parameter that was passed to the OnFindFirst event
  • Info - information about element to be found
  • ErrorCode - the error code, see values below
  • Comment - server comment
  • pcComment - server comment
  • szComment - the length of pcComment.

Error codes


    This event is fired when more than one elements with specified requirements have to be found. This event is fired after OnFindFirst.
The application can return the error code in ErrorCode parameter and textual comment in Comment parameter.

See also:     OnFindClose     OnFindFirst    

Discuss this help topic in SecureBlackbox Forum