Previous Topic: TCP/IP Library

Next Topic: Starting States in startst.h


Starting States

Valid starting states are as follows:

LOCAL_SEND

Initiates the transmission of a local file to a remote system as a report, job, or file transfer.

LOCAL_RECEIVE

Initiates the transmission of a remote file to the local system.

The value returned by XcomAPI is zero if the transfer was successful.

Note: The sample API Program apitest.c should be edited to change the starting_state to LOCAL_SEND for report, job, or file transfers. starting_state should be changed to LOCAL_RECEIVE when initiating a receive file from a remote system. See the description of file_type in this chapter under API Member Names.