Currently on pressing arrow keys or Ctrl+P/N, I see characters like
ftp> ^[[A
ftp> ^[[B
ftp> ^P
ftp> ^N
I would like to know, how to configure the ftp prompt so that I am able to view the previous commands just like we do on other shells (e.g. Ctrl+P/N in bash or arrow keys)