scp module for python ?
Michele Simionato
mis6 at pitt.edu
Fri Feb 7 12:06:45 EST 2003
"Gitte Wange" <gitte at babytux.dk> wrote in message news:<b203pf$2u8b$1 at news.cybercity.dk>...
> Hello,
>
> I don't know if such a thing has been discussed at this list (I just
> subscribed) but I give at try :-)
>
> I'm working on an application that should implement different protocols to
> transfer files to servers. On of those protocols is SSH (via scp).
>
> Does there exist some sort of scp module for python or is there anyway to
> do it ?
This question comes more or less once a month, maybe should be in
the FAQ.
The simple-minded approach is to call the scp
command with os.system if you are on unix/linux,
or, if you are on Windows, download putty and
call pscp.
pyssh was not working when I tried it months ago.
Good luck,
Michele
More information about the Python-list
mailing list