GetXferStatus Method

Navigation:  Reference Guide > File Transfer >

GetXferStatus Method

Previous pageReturn to chapter overviewNext page

Retrieves file-transfer status for a communication channel (direct serial connection or modem connection).

GetXferStatus(short ChannelID, long *Status);

Parameters

ChannelID

    A channel ID (0-7) used to identify a communication channel.

Status

    The value of variable pointed to by Status can be one of the following values:

Value

Comment

1

A file-transfer session is aborted.

2

A file-transfer session is doing initialization.

3

Start to upload or download a file now.

4

One block of data are transferred successfully.

5

A file is uploaded or downloaded successfully.

6

A file-transfer session is finished successfully.