Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is fired when a client requests to store a file.


    event TSBFTPSServerFileRequestEvent OnFileStoreRequest;
    delegate void TSBFTPSServerFileRequestEvent(object Sender, string Path, ref int ErrorCode);

    Event OnFileStoreRequest As TSBFTPSServerFileRequestEvent
    Delegate Sub TSBFTPSServerFileRequestEvent(ByVal Sender As Object, ByVal Path As String, ByRef ErrorCode As Integer)

    property OnFileStoreRequest : TSBFTPSServerFileRequestEvent;
    TSBFTPSServerFileRequestEvent = procedure (Sender: TObject; const Path : string; var ErrorCode : integer) of object;

    void get_OnFileStoreRequest(TSBFTPSServerFileRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileStoreRequest(TSBFTPSServerFileRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileRequestEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPath, int32_t szPath, int32_t &ErrorCode);

    TSBFTPSServerFileRequestEvent|callable|NULL get_OnFileStoreRequest()
    void set_OnFileStoreRequest(TSBFTPSServerFileRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerFileRequestEvent(TObject $Sender, string $Path, integer &$ErrorCode)


  • Path - path to the requested file.
  • 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 to store a file on the server. Use parameter ErrorCode to specify whether the request has succeeded.

Discuss this help topic in SecureBlackbox Forum