OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-37
FTM_CREATE_REQ_
override is an optional parameter.
create-password input
INT .EXT:ref:(ZAPS-DDL-CHAR32)
is an optional parameter that can be used to verify that the user identified by the
initiator ID has permission to create files.
create-password is an optional parameter. If you do not supply
create-password, no password is sent to the remote responder.
requested-access input
INT .EXT:ref:(ZFTM-DDL-REQUESTED-ACCESS)
following the file creation, this parameter specifies the level of access to the file
you are requesting. The requested access does not need to reflect full file-action
capabilities as specified in the permitted-actions field of the initial-attrib
parameter, but it must be a subset of these capabilities. If the
requested-access parameter is incompatible with the newly created file, the file
selection will fail, although the file was created.
The requested-access parameter is a string of Boolean fields, and each
Boolean field can take on the values ZAPS-VAL-TRUE or ZAPS-VAL-FALSE. The
fields and default values for requested-access include:
Value Name and Code If file does not exist... If file exists...
ZFTM-VAL-OVR-CREATE-FAIL (0) New file is created. Call fails.
ZFTM-VAL-OVR-SELECT-OLD (1) New file is created. File is selected (the
F-CREATE primitive
is not called).
ZFTM-VAL-OVR-CREATE-OLD (2) New file is created. File is deleted, and
a new file having the
same file attributes
as the old file is
created.
ZFTM-VAL-OVR-CREATE-NEW (3) New file is created. File is deleted, and
a new file is created
using the file
attributes specified
in the initial-
attrib parameter.
Field Name Task Associated With Access Default Value
ZREAD Read the file. TRUE
ZINSERT Insert information into the file. FALSE
ZREPLACE Replace some or all the contents of the file. FALSE