Discuss this help topic in SecureBlackbox Forum


TElSimpleFTPSServer     See also     

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

This event is fired periodically to report transfer progress.


    event TSBFTPSServerTransferProgressEvent OnTransferProgress;
    delegate void TSBFTPSServerTransferProgressEvent(Object Sender, long Progress, long Total, ref bool Abort);

    Event OnTransferProgress As TSBFTPSServerTransferProgressEvent
    Delegate Sub TSBFTPSServerTransferProgressEvent(ByVal Sender As Object, ByVal Progress As Long, ByVal Total As Long, ByRef Abort As Boolean)

    property OnTransferProgress : TSBFTPSServerTransferProgressEvent;
    TSBFTPSServerTransferProgressEvent = procedure (Sender : TObject; Progress, Total : Int64; var Abort : boolean) of object;

    void get_OnTransferProgress(TSBFTPSServerTransferProgressEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTransferProgress(TSBFTPSServerTransferProgressEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerTransferProgressEvent)(void * _ObjectData, TObjectHandle Sender, int64_t Progress, int64_t Total, int8_t &Abort);

    TSBFTPSServerTransferProgressEvent|callable|NULL get_OnTransferProgress()
    void set_OnTransferProgress(TSBFTPSServerTransferProgressEvent|callable|NULL $Value)
    callable TSBFTPSServerTransferProgressEvent(TObject $Sender, integer $Progress, integer $Total, bool &$Abort)

    TSBFTPSServerTransferProgressEvent getOnTransferProgress();
    void setOnTransferProgress(TSBFTPSServerTransferProgressEvent Value);
    TSBFTPSServerTransferProgressEvent.Callback OnTransferProgress = new TSBFTPSServerTransferProgressEvent.Callback() {
        public void TSBFTPSServerTransferProgressEventCallback(TObject Sender, long Progress, long Total, TSBBoolean Abort) {


  • Progress - contains the number of bytes transferred.
  • Total - total number of bytes to be transferred (file size).
  • Abort - set this parameter to True to cancel transfer.


    This event is fired by TElSimpleFTPSServer to report status of current data transfer (file upload/download). You can use parameter Abort to cancel the transfer.

See also:     OnTransferCompleted    

Discuss this help topic in SecureBlackbox Forum