OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-84
FTM_FILE_OPEN_REQ_
values except for ZFTM-VAL-FOPEN-OLD is the same as those defined for the
override parameter of the create request.
This table lists the valid values for this parameter and the corresponding actions
taken.
file-status is an optional parameter. If you omit file-status, the default
value will be ZFTM-VAL-FOPEN-OLD.
requested-access input
INT .EXT:ref:(ZFTM-DDL-REQUESTED-ACCESS)
specifies the level of access to the file you are requesting after the file is created.
The requested access can reflect any or all the file-action capabilities specified in
the permitted-actions field of the initial-attrib parameter, but no others. If
the requested-access parameter is incompatible with the newly created file, the
file is not created. The default access requested will be ZREAD and ZREADATTR.
requested-access is an optional parameter.
access-passwords input
INT .EXT:ref:(ZFTM-DDL-ACCESS-PASSWDS)
authenticates the actions requested in the requested-access parameter. You
can specify a value for this parameter only if you negotiated the security group on
the FTM_INITIALIZE_REQ_ call. The remote responder will reject the file selection
Value Name and Code If File Does Not Exist... If File Exists...
ZFTM-VAL-FOPEN-NEW (0) New file is created. Call fails.
ZFTM-VAL-FOPEN-UNKNOWN (1) File is created using the
file attributes specified in
the initial-attrib
parameter.
File is selected.
ZFTM-VAL-FOPEN-REPLACE (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-FOPEN-RECREATE (3) New file is created. File is deleted, and a
new file is created
using the file
attributes specified in
the initial-
attrib parameter.
ZFTM-VAL-FOPEN-OLD (4) Call fails. File is selected (the
F-CREATE primitive
is not called).