Skip to main content

Hi,

How can we use the “scenario” mode with SFTP plugin?

I don’t have found any manual for using this mode. I saw that we can input a json file, but same question as before, where can i found a man page for creating this file.

 

We have a FTP/SFTP server and would like to do a GET command in the same way as we do with the FTP plugin.

Thanks a lot

Ciao ciao

stefano

Hi ​@stefanotoro 

You can use 3 modes on the scenario plugins :  (an array is needed)

 # Example of a scenario file:

p
      {"cmd": "write", "label": "write", "options": { "file": "test.txt", "content": "my string 1" } },
      {"cmd": "read", "options": { "file": "test.txt", "match": "string" } },
      {"cmd": "delete", "options": { "file": "test.txt" } }
 ]


Reply