FTAM/9000 Programmer's Guide
Chapter 2 49
Using HP FTAM/9000
Using Regimes
• On ft_connect(), returns a positive confirmation that it accepts the
request with the given (returned) changes to the initiator's request.
• Returns a negative confirmation that it does not accept the request.
Using the File Selection Regime
Enter the File Selection regime to reference a specific file. You must
specify a filename. You cannot access a file's contents in the File
Selection regime; you must enter the File Open regime to do so.
Using the File Open Regime
The File Open regime makes the file's contents available for reading and
writing.
Entering the FTAM
Regime
Functions Used Within
the FTAM Regime
Exiting the FTAM Regime
Invoke ft_connect() to
establish a connection
ft_select() moves you to the
File Selection regime and
selects a file
ft_create() moves you to the
File Selection regime and
creates, then selects a file
Invoke ft_rrequest() to
release the connection and
move you out of the FTAM
regime. (Note: You will no
longer be in a regime, but
ftam_init will still be
activated.)
Entering the File
Selection Regime
Functions Used Within
the File Selection Regime
Exiting the File Selection
Regime
Invoke ft_create() to
create a new file
OR
Invoke ft_select() to select
an existing file
ft_rattributes() reads file
attributes
ft_cattributes () changes file
attributes
ft_open() moves you to the
File Open regime and opens
a file
Invoke ft_delete() to move to
the FTAM regime and
permanently remove the file
OR
Invoke ft_deselect() to move
back to the FTAM regime
and deselect (but not remove)
the file