Fortinet white logo
Fortinet white logo

CLI Reference

execute upload

execute upload

upload

This topic includes the following commands:

execute upload config ftp

Load config file from FTP server.

execute upload config ftp <string> <comment> <ftp server>[:ftp port] <Enter>|<user> <passwd> <Enter>|<passwd>

Parameter

Description

Type

Size

<string>

Configure file name(path) on the remote server.

string

<comment>

comments

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

<Enter>|<passwd>

Password may be needed to restore.

string

execute upload config tftp

Load config from TFTP server to local disk.

execute upload config tftp <string> <comment> <tftp server>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<comment>

comments

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

execute upload image ftp

Load image from FTP server.

execute upload image ftp <string> <comment> <ftp server>[:ftp port] <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<string>

Image file name(path) on the remote server.

string

<comment>

comments

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute upload image tftp

Load image from TFTP server to local disk.

execute upload image tftp <string> <comment> <tftp server>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<comment>

comments

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

execute upload report-img ftp

upload report image file from ftp server

execute upload report-img ftp <string> <ftp server>[:ftp port] <Enter>|<user> <passwd> <Enter>

Parameter

Description

Type

Size

<string>

Image file name(path) on the remote server.

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

<Enter>

string

execute upload report-img tftp

upload report image file from tftp server

execute upload report-img tftp <string> <tftp server> <Enter>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

<Enter>

string

execute upload

execute upload

upload

This topic includes the following commands:

execute upload config ftp

Load config file from FTP server.

execute upload config ftp <string> <comment> <ftp server>[:ftp port] <Enter>|<user> <passwd> <Enter>|<passwd>

Parameter

Description

Type

Size

<string>

Configure file name(path) on the remote server.

string

<comment>

comments

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

<Enter>|<passwd>

Password may be needed to restore.

string

execute upload config tftp

Load config from TFTP server to local disk.

execute upload config tftp <string> <comment> <tftp server>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<comment>

comments

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

execute upload image ftp

Load image from FTP server.

execute upload image ftp <string> <comment> <ftp server>[:ftp port] <Enter>|<user> <passwd>

Parameter

Description

Type

Size

<string>

Image file name(path) on the remote server.

string

<comment>

comments

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

execute upload image tftp

Load image from TFTP server to local disk.

execute upload image tftp <string> <comment> <tftp server>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<comment>

comments

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

execute upload report-img ftp

upload report image file from ftp server

execute upload report-img ftp <string> <ftp server>[:ftp port] <Enter>|<user> <passwd> <Enter>

Parameter

Description

Type

Size

<string>

Image file name(path) on the remote server.

string

<ftp server>[:ftp port]

FTP server IPv4, IPv6, or FQDN can be attached with port.

string

<Enter>|<user>

FTP username may be needed.

string

<passwd>

FTP password.

string

<Enter>

string

execute upload report-img tftp

upload report image file from tftp server

execute upload report-img tftp <string> <tftp server> <Enter>

Parameter

Description

Type

Size

<string>

File name on the TFTP server.

string

<tftp server>

TFTP server IPv4, IPv6, or FQDN.

string

<Enter>

string