> Do you know what version of paramiko you have? Can you do: > python > >>> import paramiko > >>> from paramiko.sftp_client import SFTPClient > >>> dir(SFTPClient) > > On my machine this has a 'file' attribute. > You're right, updating to a new paramiko solves the problem. The version I have used to work but I guess something has been updated since then. Thanks, Erik