Do some actions on Global Filesystem: rmdir / remove / mkdir / exists / create
Input
[ESP790]<action>=<path> json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
pwd=
the admin password if authentication is enabled -
action
-
if action is not empty, it will set the action currently only these actions are supported:
- RMDIR (dir)
- REMOVE (file)
- MKDIR (dir)
- EXISTS (file/dir)
- CREATE (file)
-
path the path to process, must be a valid file or directory on /FS or /SD
Output
- In json format
cmd
Id of requested command, should be790
status
status of command, should beok
data
content of response, hereok
when action is done