FTP Vuser Functions (FTP) > Alphabetical List of Functions > ftp_get_last_download_details

ftp_get_last_download_details

Example: ftp download information functions FTP Vuser Functions (FTP)

Gets the duration and received byte count of the last ftp_get call.

int ftp_get_last_download_details( unsigned long * pByteCount, unsigned long *pDuration );

ftp_get_last_download_details gets statistics of the last download. It assigns the total download duration in milliseconds to the long integer variable to which pDuration points. This duration includes the actual transfer time and the connection overhead.

The number of bytes downloaded is assigned to the long integer variable to which pByteCount points.

To get the net transfer time, use ftp_get_last_transfer_duration.

Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

Parameterization

Parameterization is not applicable to this function.