FTAM/9000 Programmer's Guide

312 Chapter 8
Transferring HP FTAM/9000 Data
Sequence of Transferring Data
Sequence of Transferring Data
Sequences to use when transferring data are as follows.
If you invoke ft_read() or ft_write(), you must exit the regime by
invoking ft_etransfer().
If you invoke ft_sdata(), you must end the sending of data by invoking
ft_edata().
To prematurely terminate a data transfer after issuing ft_read() or
ft_write(), call ft_cancel().
You can receive a cancel indication any time; if you receive one,
acknowledge it by calling ft_rcancel(). If you receive a cancel
indication, you automatically exit the Data Transfer regime and move
into the File Open regime.
1. ft_read()
2. ft_rdata() (multiple)
3. ft_etransfer()
1. ft_write()
2. ft_sdata() (multiple)
3. ft_edata()
4. ft_etransfer()