PDA

View Full Version : Python/Paramiko Problem



102jon
February 28th, 2011, 08:43 PM
Hi, I'm trying to use the paramiko module to download files from an sftp server using the sftp.get function. I am clearly specifying the full remote and local paths, however I get either one of two error (depending on which directories I am downloading from/to). The first one is IOError Errno 2: No such file or directory, even though i have checked and the full file paths exist. The second error simply says IOError: Failure. On this second error, it takes a really long time to get there, so it seems as if stuff has been downloading, and yet the directories are still empty. Any insight?

juancarlospaco
February 28th, 2011, 09:36 PM
... fabric ?

cgroza
February 28th, 2011, 10:31 PM
Code.. Give us the CODE!

102jon
March 1st, 2011, 02:42 AM
Nevermind, I figured out the problem. Thanks anyways.

cgroza
March 3rd, 2011, 01:39 PM
Nevermind, I figured out the problem. Thanks anyways.
Your solution may be helpful for others that find themselves in the same situation.