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 remove a file.


    event TSBFTPSServerFileRequestEvent OnFileRemoveRequest;
    delegate void TSBFTPSServerFileRequestEvent(Object Sender, string Path, ref int ErrorCode);

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

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

    void get_OnFileRemoveRequest(TSBFTPSServerFileRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileRemoveRequest(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_OnFileRemoveRequest()
    void set_OnFileRemoveRequest(TSBFTPSServerFileRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerFileRequestEvent(TObject $Sender, string $Path, integer &$ErrorCode)

    TSBFTPSServerFileRequestEvent getOnFileRemoveRequest();
    void setOnFileRemoveRequest(TSBFTPSServerFileRequestEvent Value);
    TSBFTPSServerFileRequestEvent.Callback OnFileRemoveRequest = new TSBFTPSServerFileRequestEvent.Callback() {
        public void TSBFTPSServerFileRequestEventCallback(TObject Sender, String Path, TSBInteger 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 remove a file on the server. Use parameter ErrorCode to specify whether the request has succeeded.

Discuss this help topic in SecureBlackbox Forum