HP P9000 Replication Manager Software 7.3.1-00 Application Agent CLI Reference Guide
Arguments
Specify the arguments of this extended command in the following order: operation-ID, -server
FTP-server, -user FTP-user, and -password FTP-password.
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file corresponding to the specified operation ID is used when executing the extended
command.
-server FTP-server
In FTP-server, specify the host name or the IP address of the FTP server from which you want to
transmit the files. You can specify the IP address in IPv4 or IPv6 format. For details on systems that
support the IPv6 format, see the descriptions about operating systems that support the IPv6 format
when using FTP in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
-user FTP-user
For FTP-user, specify the FTP user name used when connecting to the FTP server.
-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.
• Information cannot be acquired from the operation definition file corresponding 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 extended command is used to transfer files from the FTP server to the FTP client,
based on the settings in the operation definition file operation01. The command uses serverA
for the FTP server, ftp_user for the FTP user, and ftp_passwd for the FTP password:
EX_DRM_FTP_GET operation01 -server serverA -user ftp_user -password
ftp_passwd
Extended commands30