No, it is not possible. Actually, it wouldn't work as you are probably expecting.
Please note that FTP protocol is very specific. It uses control connection, which can be used in plain Telnet. And for file uploads, downloads and directory listing the FTP protocol uses data connection. For each transfer, new data connection is established.
If you bind the Terminal control to well configured Telnet, you can script control connection. But you wouldn't be possible to create data connections. Which means you wouldn't be able to transfer any file or list directories.
You can try it like this:
var telnet = new Telnet("test.rebex.net", 21);
terminal.Options.NewLineSequence = NewLineSequence.CRLF;
terminal.Options.LocalEcho = true;
I suppose that you basically want to script classic "Console" ftp command line application such as MSFTP. Am I right?
This could be possible if you write your own
ShellChannel to transport data.