Fortinet white logo
Fortinet white logo

CLI Reference

fmupdate

fmupdate

Import or export packages using the FTP, SCP, or TFTP servers.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password>

Variables

Description

{ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp.

fds-export

Export the AV-IPS package to the FTP server.

<type>

Select the package type to export or import:

  • import:

    • package = fcp package

    • license = license package

    • custom-url = customized URL database

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

<filename>

Update manager packet file name on the server or host.

<objid>

Enter the object ID (use '-' as a separator).

<server>

Enter the FQDN or the IP address of the server.

<port>

Only available when the file transfer protocol is scp.

Enter the port to connect to on the remote SCP host (1 - 65535).

<directory>

Enter the name of the directory of the file to download from the FTP server or SCP host. If the directory name has spaces, use quotes instead.

<username>

Enter the username to log into the FTP server or SCP host

<password>

Enter the password to log into the FTP server or SCP host

fmupdate

fmupdate

Import or export packages using the FTP, SCP, or TFTP servers.

Syntax

execute fmupdate {ftp | scp | tftp} import <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | scp | tftp} export <type> <filename> <server> <port> <directory> <username> <password>

execute fmupdate {ftp | tftp} fds-export <objid> <filename> <server> <directory> <username> <password>

Variables

Description

{ftp | scp | tftp}

Select the file transfer protocol to use: ftp, scp, or tftp.

fds-export

Export the AV-IPS package to the FTP server.

<type>

Select the package type to export or import:

  • import:

    • package = fcp package

    • license = license package

    • custom-url = customized URL database

  • export:

    • license = license package

    • license-xml = license info. in xml

    • custom-url = customized URL database

<filename>

Update manager packet file name on the server or host.

<objid>

Enter the object ID (use '-' as a separator).

<server>

Enter the FQDN or the IP address of the server.

<port>

Only available when the file transfer protocol is scp.

Enter the port to connect to on the remote SCP host (1 - 65535).

<directory>

Enter the name of the directory of the file to download from the FTP server or SCP host. If the directory name has spaces, use quotes instead.

<username>

Enter the username to log into the FTP server or SCP host

<password>

Enter the password to log into the FTP server or SCP host