Fortinet black logo

CLI Reference

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 Customer Service & Support:

HTTPs://support.fortinet.com

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

<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 192.0.2.5 user1 1passw0Rd C:/uploads

Related topics

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:

HTTPs://support.fortinet.com

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

<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 192.0.2.5 user1 1passw0Rd C:/uploads

Related topics