wodSFTP API library - TransferTime Property
      
 

Description

Returns time needed to transfer current or previous file.


Return type

A Long value. Specifies elapsed time, in seconds.


Syntax

long Sftp_GetTransferTime(void *Sftp, long *pVal);
 

The TransferTime function syntax has these parts:

Part Description
void *Sftp Handle of the created Sftp instance.
long *pVal, newVal A Long value. Specifies max speed.

Remarks

TransferTime returns number of seconds since current file transfer has started, or total number of seconds of previous file transfer, if there are no transfers in progress anymore. You can use it in Done callback to show basic information about the transfer, together with transfer speed in TransferRate property.