debug upload
Use this command to upload debug logs to an FTP server. This can be used if you want to view logs outside of the CLI, or if you need to provide debug log files to Fortinet Customer Service & Support:
To use this command, your administrator account’s access control profile requires only r
permission in any profile area. For details, see Permissions.
Syntax
diagnose debug upload <ftp_ipv4> <user_str> <password_str> <upload-dir_str>
Variable | Description | Default |
Enter the IP address or domain name of the FTP server. | No default. | |
Enter a valid user account name to log in to the FTP server. | No default. | |
Enter the password for the user account. | No default. | |
Enter the directory path on the FTP server where FortiWeb will upload files. | No default. |
Example
diagnose debug upload 192.0.2.5 user1 1passw0Rd C:/uploads