Skip to main content
Rajesh0032
New Member
February 23, 2017
Question

Is there any way to scheduled reports to FTP server via command line ?

  • February 23, 2017
  • 1 reply
  • 6836 views

Hi all , Kindly help configure fortianalyzer to forward all scheduled Reports generated automatically (pdf & html.zip) to a ftp server  via command line.

 

Currently we receives fortianalyzer Report via email(PDF & HTML), i would like to configure 

 

Note: I know how to do via GUI,but need to do this via command line interface

We have also tried execute backup reports <report name or all> <ftp/sftp/scp> <ip> <user name> <password> <directory>

http://kb.fortinet.com/kb/documentLink.do?externalID=FD36255

but we are getting output as rfiles.tg

 

 

 

 

 

    1 reply

    hzhao_FTNT
    Staff
    Staff
    February 24, 2017

    Hi there, there is no CLI command to schedule upload report, but we do provide JSON APIs to set output profile/schedule if you are familiar with it. BTW, rfiles.tg is a tar.gz file which can be uncompressd by "tar xzvf" in linux.

     

    regards,

    hz

    Rajesh0032
    New Member
    February 27, 2017
    Thank you, I would like to confirm does same restrictions applies to change currently configured SMTP server IP addresses ? -- Currently we were trying to extract the tg format using 7zip ( Windows), will test from Linux
    hzhao_FTNT
    Staff
    Staff
    February 28, 2017

    You can change mail server ip by CLI "config system mail".

     

    regards,

    hz