HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI Reference Guide

-password FTP-password
For FTP-password, specify the FTP user password used when connecting to the FTP server.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The system cannot acquire information from the operation definition file linked to the operation
ID.
A connection to the FTP server or file transmission fails.
A command executed inside the extended command encounters an error.
The backup information file to be transferred by this extended command does not exist.
Information cannot be acquired from the host environment settings file.
The storage directory for extended-command temporary files specified in the operation definition
file does not exist on the file server or the database server.
The command fails to obtain the name of the directory where dictionary map files are stored.
Example
In this example, the command performs file transmission from the FTP client to the FTP server, based
on the settings in the operation definition file operation01. The command uses serverA as
the FTP server, ftp_user as the FTP user, and ftp_passwd as the FTP password:
EX_DRM_FTP_PUT operation01 -server serverA -user ftp_user -password
ftp_passwd
EX_DRM_HOST_DEF_CHECK (Checks the contents of a host environment settings
file)
Formats
To check the contents of a host environment settings file on the file server or the database server:
EX_DRM_HOST_DEF_CHECK -db -f environment-settings-file-name
To check the contents of a host environment settings file on the backup server:
EX_DRM_HOST_DEF_CHECK -bk -f environment-settings-file-name
Description
This extended command is used to check the contents of a host environment settings file. The extended
command first checks whether the specified file exists. If the file exists, the extended command checks
Extended commands32