OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-85
FTM_FILE_OPEN_REQ_
if the access passwords for the requested actions do not match the responder’s
access passwords.
access-passwords is an optional parameter. If you do not supply
access-passwords, no passwords will be sent to the remote responder.
initial-attrib input
INT .EXT:ref:(ZFTM-DDL-CREATE-ATTR-GRP)
defines the file attributes associated with the created file. The remote responder
can respond that no value is available for a proposed attribute if it does not support
the attribute, except for the filename and permitted-actions attributes to which
values must be assigned.
The only attributes to which the remote responder can assign a different value from
the one proposed by the initiator are filename and permitted-actions, for a create
operation, and permitted-actions only, for a select operation. For all other file
attributes, the remote responder must either accept the proposed value or respond
that no value is available. In the case of attributes to which the initiator does not
assign values in the initial-attrib parameter in the
FTM_FILE_OPEN_REQ_, the remote responder can supply its own default values.
You must have negotiated the appropriate attribute group on the
FTM_INITIALIZE_REQ_ call for an attribute to be defined at file creation.
There are no default values for initial-attrib.
initial-attrib is a conditional parameter. If file-status is equal to ZFTM-VAL-
FOPEN-OLD, you should not specify a value for initial-attrib. For all other
values of file-status, you must specify at least the file name attribute and the
document type component of the contents-type attribute in the value for
initial-attrib; if you do not, an error is returned.
create-password input
INT .EXT:ref:(ZAPS-DDL-CHAR32)
is an optional parameter that the responder might require to establish that the user,
identified by the initiator-id parameter of the FTM_INITIALIZE_REQ_ call,
has permission to create files in the file storage system of the responding system.
create-password is an optional parameter. If you do not supply
create-password, no password will be sent to the remote responder.
process-mode input
INT .EXT:ref:(ZFTM-DDL-PROC-MODE)
specifies the actions permitted on the file after establishment of the file-open
regime. If not specified by your application, process-mode will be the single
action ZREAD.