Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is fired when the server receives ALLO command.


    event TSBFTPSServerFileAllocateEvent OnFileAllocate;
    delegate void TSBFTPSServerFileAllocateEvent(Object Sender, long Size, ref bool Success);

    Event OnFileAllocate As TSBFTPSServerFileAllocateEvent
    Delegate Sub TSBFTPSServerFileAllocateEvent(ByVal Sender As Object, ByVal Size As Long, ByRef Success As Boolean)

    property OnFileAllocate : TSBFTPSServerFileAllocateEvent;
    TSBFTPSServerFileAllocateEvent = procedure (Sender : TObject; Size : Int64; var Success : boolean) of object;

    void get_OnFileAllocate(TSBFTPSServerFileAllocateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileAllocate(TSBFTPSServerFileAllocateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerFileAllocateEvent)(void * _ObjectData, TObjectHandle Sender, int64_t Size, int8_t &Success);

    TSBFTPSServerFileAllocateEvent|callable|NULL get_OnFileAllocate()
    void set_OnFileAllocate(TSBFTPSServerFileAllocateEvent|callable|NULL $Value)
    callable TSBFTPSServerFileAllocateEvent(TObject $Sender, integer $Size, bool &$Success)

    TSBFTPSServerFileAllocateEvent getOnFileAllocate();
    void setOnFileAllocate(TSBFTPSServerFileAllocateEvent Value);
    TSBFTPSServerFileAllocateEvent.Callback OnFileAllocate = new TSBFTPSServerFileAllocateEvent.Callback() {
        public void TSBFTPSServerFileAllocateEventCallback(TObject Sender, long Size, TSBBoolean Success) {


  • Size - specifies the size to be allocated.
  • Success - set this parameter to True to grant the permission to upload the file, and to False otherwise.


    This event is fired when the server receives request to allocate disk space for the file to be uploaded to the server.

See also:     Options    

Discuss this help topic in SecureBlackbox Forum