HP StorageWorks P9000 Replication Manager Software 7.1 CLI Reference Guide (TB584-96021, May 2011)
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 linked to the specified operation ID is used when executing an extended command.
-server FTP-server
For FTP-server, specify the host name or the IP address of the FTP server to 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 StorageWorks P9000 Replication Manager Software 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.
• 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
CLI Reference Guide 31