Skip to content

[ESP181]

Get/Set Ftp ports

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=(admin password) 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
  • In json format
{
"cmd":"181",
"status":"ok",
"data":{
"ctrl":"21",
"active":"50000",
"passive":"50001"
}
}