Unfortunately, netstd has added GNU readline to ftp. No thanks! Recompile ftp with readline turned off. I recommend that this be the standard config. As you just found out, it causes too many problems to include readline in ftp.