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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor