Get/Set Ftp state which can be ON, OFF, CLOSE
Input
[ESP180]<state> 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 -
state
- if state is empty, it will display current state
- if state is not empty, it will set the state ON, OFF, CLOSE
Output
- In json format
cmd
Id of requested command, should be180
status
status of command, should beok
data
content of response, here the state