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. [Deprecated]The default value is scp, which is deprecated.
ftp
Identifies the File Transfer Protocol.
[Deprecated]scp
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.

[Deprecated]The SCP upload method is deprecated. If you use SCP to upload multiple log targets at the same time, a system error might occur. The appliance supports only one SCP connection at a time. To minimize the risk when you use SCP, configure log targets with different settings, such as different event subscriptions and different log sizes.

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/
#