Is there an open source telnet API/library out there for Java (something like Python telnetlib)? I need to connect to a server using telnet and execute some commands from wi
Sure is.
http://sourceforge.net/projects/jtelnet/ (EDIT: Noted as crap.)
Here is an Apache project which is presumably much more handy:
http://commons.apache.org/net/