Skip to content

[ESP730]

Do some actions on ESP Filesystem: rmdir / remove / mkdir / exists / create

[ESP730](action)=(path) json=(no) pwd=(admin password)

  • json=no the output format can be in JSON or plain text

  • 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

  • In json format
{
"cmd":"730",
"status":"ok",
"data":"ok"
}
  • cmd Id of requested command, should be 730
  • status status of command, should be ok
  • data content of response, here ok when action is done