[Tutor] Assigning a variable to an FTP directory listing

Danny Yoo dyoo at hashcollision.org
Thu Dec 12 02:03:07 CET 2013


By the way, I would recommend not doing this with FTP.  If I remember
rightly, it passes passwords in plain text, which is not so good.
Reference: http://en.wikipedia.org/wiki/File_Transfer_Protocol#Security.
 You might just want to use something like 'ssh ls' to run ls on the
remote system.

There was some discussion on how to drive ssh programmatically just
from yesterday.  Here's a link to the archive thread:
https://mail.python.org/pipermail/tutor/2013-December/098795.html


More information about the Tutor mailing list