FTAM/9000 Programmer's Guide
212 Chapter 5
Using High Level, Context Free Functions
Copying and Moving FTAM Files (HLCF)
• You must supply matching passwords in input_dcb->source_file_
passwords for FT_FA_READ, FT_FA_READ_ATTRIBUTE, and
FT_FA_DELETE_FILE file actions if the following conditions exist.
• If the file you are moving contains an identity (in
Ft_access_control_element) that matches the source_init_id AND
• If passwords exist for these file actions
• You must supply matching passwords in input_dcb-
>dest_file_passwords if the file you moving to exists and contains an
identity (in Ft_access_control_element) that matches the dest_init_id
and if passwords exist for these file actions.
• If the file is an FTAM–1, FTAM–3, or INTAP-1 document type,
you must supply matching passwords for FT_FA_DELETE_FILE
and FT_FA_REPLACE.
• If the file is an FTAM–2 document type, you must supply
matching passwords for FT_FA_DELETE_FILE and
FT_FA_INSERT.
Ft_fmove_in_dcb
struct Ft_fmove_in_dcb {
Ft_initiator_identity source_init_id;
Ft_single_file_pw source_filestore_pw;
Ft_account source_account;
struct Ft_file_passwords source_file_passwords;
Ft_initiator_identity dest_init_id;
Ft_single_file_pw dest_filestore_pw;
Ft_account dest_account;
struct Ft_file_passwords dest_file_passwords;
Ft_single_file_pw create_file_pw;
enum Ft_delete_overwrite overwrite;
struct Ft_concurrency_control *src_concur_cntl;
struct Ft_concurrency_control *dest_concur_cntl;
};
Ft_fmove_out_dcb
struct Ft_fmove_out_dcb {
Uint32 size;
struct Api_rc result;
enum Ft_action_result action_result;
struct Ft_attributes attributes;
struct Ft_charging *charging;
struct Ft_diagnostic *diagnostic;
};