paramiko/paramiko — pull request #71 by ericbuehl (2012-06-04 18:19:09+00:00)
Title: Allow uploading from an open file object

Adds support for passing an open file (or file-like) object to sftp_client with putfo and getfo. Useful for hooking to other file-based python modules to avoid touching local disk. Patch passes all unit tests.

This is a copy of the patch submitted at https://bugs.launchpad.net/paramiko/+bug/746157