Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnFileListItemRequest

TElFTPSServer     See also     


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


This event is fired when certain file from the list is requested.

Declaration

[C#]
    event TSBFTPSServerFileListItemRequestEvent OnFileListItemRequest;
    delegate void TSBFTPSServerFileListItemRequestEvent(Object Sender, TElFTPSServerFileInfo Item, ref int ErrorCode);

[VB.NET]
    Event OnFileListItemRequest As TSBFTPSServerFileListItemRequestEvent
    Delegate Sub TSBFTPSServerFileListItemRequestEvent(ByVal Sender As Object, ByVal Item As TElFTPSServerFileInfo, ByRef ErrorCode As Integer)

[Pascal]
    property OnFileListItemRequest : TSBFTPSServerFileListItemRequestEvent;
    TSBFTPSServerFileListItemRequestEvent = procedure (Sender: TObject; Item : TElFTPSServerFileInfo; var ErrorCode : integer) of object;

[C++]
    void get_OnFileListItemRequest(TSBFTPSServerFileListItemRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileListItemRequest(TSBFTPSServerFileListItemRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileListItemRequestEvent)(void * _ObjectData, TObjectHandle Sender, TElFTPSServerFileInfoHandle Item, int32_t &ErrorCode);

[PHP]
    TSBFTPSServerFileListItemRequestEvent|callable|NULL get_OnFileListItemRequest()
    void set_OnFileListItemRequest(TSBFTPSServerFileListItemRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerFileListItemRequestEvent(TObject $Sender, TElFTPSServerFileInfo $Item, integer &$ErrorCode)

[Java]
    TSBFTPSServerFileListItemRequestEvent getOnFileListItemRequest();
    void setOnFileListItemRequest(TSBFTPSServerFileListItemRequestEvent Value);
    TSBFTPSServerFileListItemRequestEvent.Callback OnFileListItemRequest = new TSBFTPSServerFileListItemRequestEvent.Callback() {
        public void TSBFTPSServerFileListItemRequestEventCallback(TObject Sender, TElFTPSServerFileInfo Item, TSBInteger ErrorCode) {
            //...
        }
    }

Parameters

  • Item - the requested item from the list.
  • ErrorCode - return the filesystem error using this parameter.

Possible values:

Description

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

See also:     OnFileListRequest     OnFileListCompleted    

Discuss this help topic in SecureBlackbox Forum