:GetTransferTime()


Class

     aprFTP()

 

Syntax

     :GetTransferTime( [hSession] ) -> nMilliseconds

 

Parameters

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Number of milliseconds to transfer the previous file.

If no file has been transferred, or the function fails, the return value is 0.

 

To get further error information see :nErr and :cErr

To see the remote server's response, see :GetResultCode() and :GetResultString().

 

Description

Returns the number of milliseconds required to transfer the previous file.

If called while a file transfer is in progress, it will return the amount of time since the transfer started.

  

See Also

:GetBytesCopied(), :GetTransferStatus()