Get/Set Ftp ports
Input
ESP181]ctrl=<port> active=<port> passive=<port> 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 -
ctrl
- if ctrl is empty, it will display current ctrl port
-
if ctrl is not empty, it will set the ctrl port
-
active
- if active is empty, it will display current active port
-
if active is not empty, it will set the active port
-
passive
- if passive is empty, it will display current passive port
- if passive is not empty, it will set the passive port
Output
- In json format