Skip to main content
Jafar
New Member
January 16, 2018
Question

Is it possible to "upload and run script" through CLI command

  • January 16, 2018
  • 1 reply
  • 15027 views

I can upload script through System > Advanced and then it is automatically executed in forti OS 5.6.2

how can i perform the same (upload and run script) through CLI command.

1 reply

emnoc
New Member
January 16, 2018

Yes

 

 

Look at this   thread on a just  few of many ways you can run scripts at the cmd

 

[link]https://forum.fortinet.com/tm.aspx?m=107230[/link]

Jafar
JafarAuthor
New Member
January 17, 2018

Thanks for your reply, emnoc.

 

Actually, I am looking for a CLI command to upload Script file on Fortigate 30 E  and execute it.

 

I can achieve this in GUI mode (System > Advanced > "upload and run script"). But I didn’t find any option to perform the same action in CLI…

 

 

ipranger
New Member
December 22, 2020

Interesting too. Have anyone an example? I've uploaded my scripts, but no place, no cmd that i can execute this.