in reply to Trying to do FTP using pseudo-tty

Howdy iThunder, welcome back to the Monastery!

Could you add a bit of formatting to your post, please? In particular, <code> tags around your code would be rather useful to have.

Here's some nodes with helpful information:

You'll make it much easier for us to help you that way.