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 to store a file.


    event TSBFTPSServerFileInfoNeededEvent OnFileInfoNeeded;
    delegate void TSBFTPSServerFileInfoNeededEvent(Object Sender, string Path, TElFTPSServerFileInfo Info, ref int ErrorCode);

    Event OnFileInfoNeeded As TSBFTPSServerFileInfoNeededEvent
    Delegate Sub TSBFTPSServerFileInfoNeededEvent(ByVal Sender As Object, ByVal Path As String, ByVal Info As TElFTPSServerFileInfo, ByRef ErrorCode As Integer)

    property OnFileInfoNeeded : TSBFTPSServerFileInfoNeededEvent;
    TSBFTPSServerFileInfoNeededEvent = procedure (Sender: TObject; const Path : string; Info : TElFTPSServerFileInfo; var ErrorCode : integer) of object;

    void get_OnFileInfoNeeded(TSBFTPSServerFileInfoNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileInfoNeeded(TSBFTPSServerFileInfoNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileInfoNeededEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPath, int32_t szPath, TElFTPSServerFileInfoHandle Info, int32_t &ErrorCode);

    TSBFTPSServerFileInfoNeededEvent|callable|NULL get_OnFileInfoNeeded()
    void set_OnFileInfoNeeded(TSBFTPSServerFileInfoNeededEvent|callable|NULL $Value)
    callable TSBFTPSServerFileInfoNeededEvent(TObject $Sender, string $Path, TElFTPSServerFileInfo $Info, integer &$ErrorCode)

    TSBFTPSServerFileInfoNeededEvent getOnFileInfoNeeded();
    void setOnFileInfoNeeded(TSBFTPSServerFileInfoNeededEvent Value);
    TSBFTPSServerFileInfoNeededEvent.Callback OnFileInfoNeeded = new TSBFTPSServerFileInfoNeededEvent.Callback() {
        public void TSBFTPSServerFileInfoNeededEventCallback(TObject Sender, String Path, TElFTPSServerFileInfo Info, TSBInteger ErrorCode) {


  • Path - path to the requested file.
  • Info - contains the requested file info.
  • ErrorCode - return the filesystem error using this parameter.
  • pcPath - path to the requested file.
  • szPath - the length of pcPath.

Possible values:


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

Discuss this help topic in SecureBlackbox Forum