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


    event TSBFTPSServerFileRenameRequestEvent OnFileRenameRequest;
    delegate void TSBFTPSServerFileRenameRequestEvent(Object Sender, string OldName, string NewName, ref int ErrorCode);

    Event OnFileRenameRequest As TSBFTPSServerFileRenameRequestEvent
    Delegate Sub TSBFTPSServerFileRenameRequestEvent(ByVal Sender As Object, ByVal OldName As String, ByVal NewName As String, ByRef ErrorCode As Integer)

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

    void get_OnFileRenameRequest(TSBFTPSServerFileRenameRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileRenameRequest(TSBFTPSServerFileRenameRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileRenameRequestEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcOldName, int32_t szOldName, const char * pcNewName, int32_t szNewName, int32_t &ErrorCode);

    TSBFTPSServerFileRenameRequestEvent|callable|NULL get_OnFileRenameRequest()
    void set_OnFileRenameRequest(TSBFTPSServerFileRenameRequestEvent|callable|NULL $Value)
    callable TSBFTPSServerFileRenameRequestEvent(TObject $Sender, string $OldName, string $NewName, integer &$ErrorCode)

    TSBFTPSServerFileRenameRequestEvent getOnFileRenameRequest();
    void setOnFileRenameRequest(TSBFTPSServerFileRenameRequestEvent Value);
    TSBFTPSServerFileRenameRequestEvent.Callback OnFileRenameRequest = new TSBFTPSServerFileRenameRequestEvent.Callback() {
        public void TSBFTPSServerFileRenameRequestEventCallback(TObject Sender, String OldName, String NewName, TSBInteger ErrorCode) {


  • Path - path to the requested file.
  • ErrorCode - return the filesystem error using this parameter.
  • pcOldName -
  • szOldName -
  • pcNewName -
  • szNewName -
  • OldName -
  • NewName -

Possible values:


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

Discuss this help topic in SecureBlackbox Forum