[plug] Slippery, secure file transfers

Bernd Felsche bernie at innovative.iinet.net.au
Wed Feb 8 16:56:25 WST 2006


I ran into a problem with a cantankerous FTP server and
equally-adept "support" staff of a business partner for one of my
customers.

Their FTP server doesn't work properly... "it works for everybody
else" - the "everybody else" is actually that unwashed population
using THEIR proprietary FTP windows client software to MANUALLY
transfer EDI documents.

So I gave up and tried to ssh into their server.... Bingo!

Now all I need to do is to get Python speaking ssh.

The bee's knees in that respect is Twisted-Conch. But being a rather
large demolition ball to crack a walnut, I need something simpler
such as a Python forking off to run an sftp co-routine to which I
send command via a pipe and read back responses via another...

Are there any convenient examples of something similar so I don't
have to invent the whole wheel? 

Preferably a small, light wheel.

So far, I've found "paramiko" to implement SSH2 in Python, and some
zope-monstrosity as other Python-only options.
-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | "Laws do not persuade just because
 X   against HTML mail     |  they threaten."
/ \  and postings          | Lucius Annaeus Seneca, c. 4BC - 65AD.




More information about the plug mailing list