telnet functionality

John J. Lee jjl at pobox.com
Tue Jun 4 17:12:49 EDT 2002


On 4 Jun 2002, Ben wrote:
[...]
> the script to the point where I can open a telnet account, change to
> new directory, and list the directory's contents...but, I can't seem
> to figure out how to grab the last file in the directory and append it
> to the list.  It seems that telnetlib doesn't offer that ability.
[...]

Why should it?  Telnet isn't ftp.  Just parse the output of ls yourself.


John




More information about the Python-list mailing list