2009/7/20 Matt Herzog <m...@blisses.org>: > Traceback (most recent call last): > File "./scpgetter.py", line 20, in ? > sftp.get(remotepath, localpath) > File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 584, > in get > File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line > 240, in open > File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line > 609, in _request > File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", > line 656, in _read_response > File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", > line 682, in _convert_status > IOError: (2, '')
Ah, now it get interesting. Genrally IOError means the file is not found. And looking at the source for _convert_status it is axactly that. The file you are trying to "get" is not found on the server so check your remotepath. Greets Sander _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor