Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is fired when a client requests a file list.


    event TSBFTPSServerDirectoryRequestEvent OnFileListRequest;
    delegate void TSBFTPSServerDirectoryRequestEvent(Object Sender, ref string Directory, ref int ErrorCode);

    Event OnFileListRequest As TSBFTPSServerDirectoryRequestEvent
    Delegate Sub TSBFTPSServerDirectoryRequestEvent(ByVal Sender As Object, ByRef Directory As String, ByRef ErrorCode As Integer)

    property OnFileListRequest : TSBFTPSServerDirectoryRequestEvent;
    TSBFTPSServerDirectoryRequestEvent = procedure (Sender: TObject; var Directory : string; var ErrorCode : integer) of object;

    void get_OnFileListRequest(TSBFTPSServerDirectoryRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileListRequest(TSBFTPSServerDirectoryRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerDirectoryRequestEvent)(void * _ObjectData, TObjectHandle Sender, char * pcDirectory, int32_t &szDirectory, int32_t &ErrorCode);

    TSBFTPSServerDirectoryRequestEvent|callable|NULL get_OnFileListRequest()
    void set_OnFileListRequest(TSBFTPSServerDirectoryRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerDirectoryRequestEvent(TObject $Sender, string &$Directory, integer &$ErrorCode)

    TSBFTPSServerDirectoryRequestEvent getOnFileListRequest();
    void setOnFileListRequest(TSBFTPSServerDirectoryRequestEvent Value);
    TSBFTPSServerDirectoryRequestEvent.Callback OnFileListRequest = new TSBFTPSServerDirectoryRequestEvent.Callback() {
        public void TSBFTPSServerDirectoryRequestEventCallback(TObject Sender, TSBString Directory, TSBInteger ErrorCode) {


  • Directory - specifies the directory name.
  • ErrorCode - return the filesystem error using this parameter.
  • pcDirectory - specifies the directory name.
  • szDirectory - the length of pcDirectory.

Possible values:


    This event is fired by TElFTPSServer when client requests directory listing. Use parameter ErrorCode to specify whether the request has succeeded.

See also:     OnFileListItemRequest     OnFileListCompleted    

Discuss this help topic in SecureBlackbox Forum