Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

log ftp-policy

Use this command to configure a connection to an FTP or TFTP server. The config log reports configuration uses this policy to specify a server that FortiWeb sends reports to.

To use this command, your administrator account’s access control profile must have either w or rw permission to the loggrp area. For details, see Permissions.

Syntax

config log ftp-policy

edit "<policy_name>"

set type {ftp | tftp}

set server "<ftp-server_ipv4>"

set ftp_auth {enable | disable}

set ftp_user "<ftp-user_str>"

set ftp_passwd "<ftp_pswd>"

set ftp-dir "<ftp-dir_str>"

end

Variable Description Default

"<policy_name>"

Enter the name of a new or existing FTP/TFTP policy. The maximum length is 63 characters.

To display the list of existing policies, enter:

edit ?

No default.

type {ftp | tftp}

Specify whether the server is FTP or TFTP. ftp

server "<ftp-server_ipv4>"

Enter the IP address of the FTP or TFTP server. No default.

ftp_auth {enable | disable}

Specify whether the server requires a user name and password for authentication, rather than allowing anonymous connections.

Available only if type {ftp | tftp} is ftp.
disable

ftp_user "<ftp-user_str>"

Enter the user name that FortiWeb uses to authenticate with the server.

Available only if ftp_auth {enable | disable} is enable.
No default.

ftp_passwd "<ftp_pswd>"

Enter the password for the specified username.

Available only if ftp_auth {enable | disable} is enable.
No default.

ftp-dir "<ftp-dir_str>"

Enter the location on the server where FortiWeb stores reports. No default.

Related topics

log ftp-policy

Use this command to configure a connection to an FTP or TFTP server. The config log reports configuration uses this policy to specify a server that FortiWeb sends reports to.

To use this command, your administrator account’s access control profile must have either w or rw permission to the loggrp area. For details, see Permissions.

Syntax

config log ftp-policy

edit "<policy_name>"

set type {ftp | tftp}

set server "<ftp-server_ipv4>"

set ftp_auth {enable | disable}

set ftp_user "<ftp-user_str>"

set ftp_passwd "<ftp_pswd>"

set ftp-dir "<ftp-dir_str>"

end

Variable Description Default

"<policy_name>"

Enter the name of a new or existing FTP/TFTP policy. The maximum length is 63 characters.

To display the list of existing policies, enter:

edit ?

No default.

type {ftp | tftp}

Specify whether the server is FTP or TFTP. ftp

server "<ftp-server_ipv4>"

Enter the IP address of the FTP or TFTP server. No default.

ftp_auth {enable | disable}

Specify whether the server requires a user name and password for authentication, rather than allowing anonymous connections.

Available only if type {ftp | tftp} is ftp.
disable

ftp_user "<ftp-user_str>"

Enter the user name that FortiWeb uses to authenticate with the server.

Available only if ftp_auth {enable | disable} is enable.
No default.

ftp_passwd "<ftp_pswd>"

Enter the password for the specified username.

Available only if ftp_auth {enable | disable} is enable.
No default.

ftp-dir "<ftp-dir_str>"

Enter the location on the server where FortiWeb stores reports. No default.

Related topics