Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

upload

Use this command to upload system configurations and firmware images to the flash disk from FTP, TFTP, or USB sources.

Syntax

To upload configuration files from an FTP server
execute upload config ftp  Load config file from FTP server.
        {string}   Configure file name(path) on the remote server.
            {comment}   comments
                {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                    {Enter}|{user}   FTP username may be needed.
                        {passwd}   FTP password.
                            {Enter}|{passwd}   Password may be needed to restore.

To upload configuration files from a TFTP server
execute upload config tftp  Load config from TFTP server to local disk.
        {string}   File name on the TFTP server.
            {comment}   comments
                {ip}   IP address.

To upload configuration files from an external USB disk
execute upload config usb  Load config from USB to local disk.
        {string}   File name on USB disk.
            {comment}   comments

To upload firmware image files from an FTP server
execute upload image ftp  Load image from FTP server.
        {string}   Image file name(path) on the remote server.
            {comment}   comments
                {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                    {Enter}|{user}   FTP username may be needed.
                        {passwd}   FTP password.

To upload firmware image files from a TFTP server
execute upload image tftp  Load image from TFTP server to local disk.
        {string}   File name on the TFTP server.
            {comment}   comments
                {ip}   IP address.

To upload firmware image files from an external USB disk
execute upload image usb  Load image from USB to local disk.
        {string}   File name on USB disk.
            {comment}   comments

To upload report image files from an FTP server
execute upload report-img ftp  upload report image file from ftp server
        {string}   Image file name(path) on the remote server.
            {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                {Enter}|{user}   FTP username may be needed.
                    {passwd}   FTP password.
                        {Enter}    

To upload report image files from a TFTP server
execute upload report-img tftp  upload report image file from tftp server
        {string}   File name on the TFTP server.
            {ip}   IP address.
                {Enter}    

upload

Use this command to upload system configurations and firmware images to the flash disk from FTP, TFTP, or USB sources.

Syntax

To upload configuration files from an FTP server
execute upload config ftp  Load config file from FTP server.
        {string}   Configure file name(path) on the remote server.
            {comment}   comments
                {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                    {Enter}|{user}   FTP username may be needed.
                        {passwd}   FTP password.
                            {Enter}|{passwd}   Password may be needed to restore.

To upload configuration files from a TFTP server
execute upload config tftp  Load config from TFTP server to local disk.
        {string}   File name on the TFTP server.
            {comment}   comments
                {ip}   IP address.

To upload configuration files from an external USB disk
execute upload config usb  Load config from USB to local disk.
        {string}   File name on USB disk.
            {comment}   comments

To upload firmware image files from an FTP server
execute upload image ftp  Load image from FTP server.
        {string}   Image file name(path) on the remote server.
            {comment}   comments
                {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                    {Enter}|{user}   FTP username may be needed.
                        {passwd}   FTP password.

To upload firmware image files from a TFTP server
execute upload image tftp  Load image from TFTP server to local disk.
        {string}   File name on the TFTP server.
            {comment}   comments
                {ip}   IP address.

To upload firmware image files from an external USB disk
execute upload image usb  Load image from USB to local disk.
        {string}   File name on USB disk.
            {comment}   comments

To upload report image files from an FTP server
execute upload report-img ftp  upload report image file from ftp server
        {string}   Image file name(path) on the remote server.
            {ftp server}[:ftp port]   FTP server IP or FQDN, can be attached with port.
                {Enter}|{user}   FTP username may be needed.
                    {passwd}   FTP password.
                        {Enter}    

To upload report image files from a TFTP server
execute upload report-img tftp  upload report image file from tftp server
        {string}   File name on the TFTP server.
            {ip}   IP address.
                {Enter}