ron.eggler at gmail.com
Wed Sep 1 17:58:43 CEST 2010
I would like to create an scp handle and download a file from a
client. I have following code:
import sys, os, paramiko,time
from attachment import SCPClient
transport = paramiko.Transport((prgIP, 22))
print "Transport connect timed out"
writelog(" Transport connect timed out. \n")
scp = SCPClient(transport)
writelog("Succesfully created scp transport handle to get P-file
# Create '/tmp/autokernel' if it does not exist.
if not os.access('./PRGfiles', os.F_OK):
writelog("succesfully downloaded P-file \n")
writelog("Downloading P-file failed. \n")
but what i'm getting is this and no file is downloaded...:
BaseException.message has been deprecated as of Python 2.6
09/01/2010 08:53:56 : Downloading P-file failed.
What does that mean and how do i resolve this?
More information about the Python-list