xfGetStatusLong

#include <fte.h>

LONG WINAPI xfGetStatusLong( hConnection, nInfo)
HSESSION
hSession; /* handle of session about which to get information */
HCONNECTION
hConnection; /* handle of connection about which to get information */
int
nInfo; /* integer representing type of information to get */

The xfGetStatusLong function gets numeric information about the file transfer session.

Parameters

hConnection

Specifies the connection about which to get information.

nInfo

Specifies the type of information to get. It can be one of these values:

Values

Meaning

XF_GSL_BYTESPERSECOND

Approximate rate of transfer.

XF_GSL_CURRENTINDEX

Index (1, 2, ... ) of current file.

XF_GSL_CURRENTPERCENTDONE

Percent of the transfer completed
(0 through 100)

XF_GSL_CURRENTSIZE

Total bytes in current file to transfer.

XF_GSL_CURRENTTRANSFERRED

Bytes transferred of current file.

XF_GSL_ERROR

Current error code for the connection.

XF_GSL_NUMFILES

Number of files to transfer.

XF_GSL_SECONDS

Elapsed time of connection.

XF_GSL_TAG

Pointer to the tag.

XF_GSL_TAGSIZE

Size of the tag in bytes.

XF_GSL_TOTALPERCENTDONE

Percent of the entire transfer completed
(0 through 100)

XF_GSL_TOTALSIZE

Total bytes in all files to transfer.

XF_GSL_TOTALTRANSFERRED

Bytes transferred of all files.

XF_GSL_TRANSFERSECONDS

Elapsed time of file transfer.

XF_GSL_UUID

Pointer to the UUID.


Return Value

The return value is the requested information.

See Also

xfGetStatusText, xfGetVersion.