IBM WebSphere XS40 Command Reference Manual page 62

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
-f
source and destination
Guidelines
The copy command transfers files to or from the DataPower appliance. You must
issue this command from the appliance. When the source file or target destination
is remote to the appliance, this command supports only the following protocols:
v HTTP
v HTTPS
v Secure Copy (SCP)
v Secured File Transfer Protocol
To send a file from the appliance as an email, use the Global send file command.
When using the copy command, be aware of the following restrictions:
v You cannot copy files from the cert: directory
v You cannot copy files to the audit:, logstore:, or logtemp: directory.
36
Command Reference
Overwrites an existing file, if one of the same name already exists. In the
absence of this argument, an attempt to save a file with the same name as
an existing file will result in a prompt that requests confirmation to
overwrite the existing file.
Specifies the URLs that identify the source file and target destination,
respectively.
v If the source file or target destination reside on the appliance, these
arguments take the following form:
directory:///filename
directory
Specifies a directory on the appliance. Refer to "Directories on
the appliance" on page xxii for details.
filename
Specifies the name of a file in the specified directory.
v If the source file or target destination is remote to the DataPower
appliance and the transport protocol is SCP or SFTP, these arguments
take the form that is compliant with RFC 1738.
To use an absolute path:
scp://user@host:port//file_path
sftp://user@host:port//file_path
To use a path that is relative to the user's home directory:
scp://user@host:port/file_path
sftp://user@host:port/file_path
Where:
host
Specifies the fully-qualified host name or IP address of the
remote server. If DNS is enabled, the host name.
port
Specifies the listening port on the remote server.
After issuing the command, the system prompts you for the remote
login password.

Advertisement

Table of Contents
loading

Table of Contents