upload-method

This command sets the protocol to upload a file-based log to a remote site.

Syntax

upload-method protocol

Parameters

protocol
Specifies the protocol to upload the report. The default value is scp, which is deprecated.
ftp
Identifies the File Transfer Protocol.
scp (Deprecated)
Identifies the Secure Copy Protocol (SCP).
sftp
Identifies the Secure File Transfer Protocol.
smtp
Identifies the Simple Mail Transfer Protocol.

Guidelines

The upload-method command sets the protocol to upload a file-based log to a remote site. This command is used in the following situations.
  • The log type that is set by the type command is file.
  • The archive-mode that is set by the archive-mode command is upload.

Examples

Provide the required information (transfer protocol, recipient address, user name, password, and remote directory) to upload a file-based log to a remote storage site.
# type file
# upload-method sftp
# remote-address 172.16.100.1
# remote-login jrb brj
# remote-directory logs/
#