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 server "<ftp-server_ipv4>"
set ftp_auth {enable | disable}
end
Variable | Description | Default |
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:
|
No default. | |
Specify whether the server is FTP or TFTP. | ftp
|
|
Enter the IP address of the FTP or TFTP server. | No default. | |
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
|
|
Enter the user name that FortiWeb uses to authenticate with the server.
Available only if ftp_auth {enable | disable} is enable . |
No default. | |
Enter the password for the specified username. Available only if ftp_auth {enable | disable} is enable . |
No default. | |
Enter the location on the server where FortiWeb stores reports. | No default. |