Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnFileAppendRequest

TElFTPSServer     See also     


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


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

Declaration

[C#]
    event TSBFTPSServerFileRequestEvent OnFileAppendRequest;
    delegate void TSBFTPSServerFileRequestEvent(Object Sender, string Path, ref int ErrorCode);

[VB.NET]
    Event OnFileAppendRequest As TSBFTPSServerFileRequestEvent
    Delegate Sub TSBFTPSServerFileRequestEvent(ByVal Sender As Object, ByVal Path As String, ByRef ErrorCode As Integer)

[Pascal]
    property OnFileAppendRequest : TSBFTPSServerFileRequestEvent;
    TSBFTPSServerFileRequestEvent = procedure (Sender: TObject; const Path : string; var ErrorCode : integer) of object;

[C++]
    void get_OnFileAppendRequest(TSBFTPSServerFileRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileAppendRequest(TSBFTPSServerFileRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileRequestEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcPath, int32_t szPath, int32_t &ErrorCode);

[PHP]
    TSBFTPSServerFileRequestEvent|callable|NULL get_OnFileAppendRequest()
    void set_OnFileAppendRequest(TSBFTPSServerFileRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerFileRequestEvent(TObject $Sender, string $Path, integer &$ErrorCode)

[Java]
    TSBFTPSServerFileRequestEvent getOnFileAppendRequest();
    void setOnFileAppendRequest(TSBFTPSServerFileRequestEvent Value);
    TSBFTPSServerFileRequestEvent.Callback OnFileAppendRequest = new TSBFTPSServerFileRequestEvent.Callback() {
        public void TSBFTPSServerFileRequestEventCallback(TObject Sender, String Path, TSBInteger ErrorCode) {
            //...
        }
    }

Parameters

  • 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:

Description

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

Discuss this help topic in SecureBlackbox Forum