I'm trying to use paramiko to get a file via SFTP.
It connects, I can list directories and it even downloads the first megabyte or so of the file but then it just hangs. No exception, no error, nothing. It just hangs there indefinitely.

Here's the code I'm working with:

```
import paramiko
t = paramiko.Transport( host )
t.connect( username=uname, password=passwd )
f = paramiko.SFTPClient.from_transport( t )
print f.listdir()
f.get( fname, fname ) #it hangs on this line :\

```

I have sftp access to the host in question but no shell access.
The host contains a single file that I need to fetch regularly and process in a python script.

Any help with this problem or alternate solutions to doing SFTP in Python are greatly appreciated :)