diagnose : debug upload
 
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 Technical Support.
To use this command, your administrator account’s access control profile requires only r permission in any profile area.
Syntax
diagnose debug upload <ftp_ipv4> <user_str> <password_str> <upload-dir_str>
Variable
Description
Default
<ftp_ipv4>
Enter the IP address or domain name of the FTP server.
No default.
<user_str>
Enter a valid user account name to log in to the FTP server.
No default.
<password_str>
Enter the password for the user account.
No default.
<upload-dir_str>
Enter the directory path on the FTP server where FortiWeb will upload files.
No default.
Example
diagnose debug upload 10.1.1.5 user1 1passw0Rd C:/uploads
Related topics
diagnose debug
execute db rebuild