Fortinet black logo

Handbook (HTML)

diagnose system export fd_log

Copy Link
Copy Doc ID 73ac471a-9afd-11ea-8862-00505692583a:171893

diagnose system export fd_log

Allows you to export debug log files to an FTP server

Syntax

diagnose system export fd_log <ftp server> <user> <password> [directory] [filename]

where:

Variables Description
<ftp server> IP address or hostname of FTP server.
<username> User name of account that logs on to the FTP server.
<password> Password of account that logs on to the FTP server.
[directory] Location on FTP server where you want the diagnostic file to be placed.
[filename] Name of the zip file that contains several log files that will be put on the FTP server. If you don't specify a filename, you will get a default file called fortidb.zip.

Example

diagnose system export fd_log <your_ftp_server> <your_ftp_username> <your_ftp_password> . myDiagnose.zip

See also

diagnose system export fd_log

Allows you to export debug log files to an FTP server

Syntax

diagnose system export fd_log <ftp server> <user> <password> [directory] [filename]

where:

Variables Description
<ftp server> IP address or hostname of FTP server.
<username> User name of account that logs on to the FTP server.
<password> Password of account that logs on to the FTP server.
[directory] Location on FTP server where you want the diagnostic file to be placed.
[filename] Name of the zip file that contains several log files that will be put on the FTP server. If you don't specify a filename, you will get a default file called fortidb.zip.

Example

diagnose system export fd_log <your_ftp_server> <your_ftp_username> <your_ftp_password> . myDiagnose.zip

See also