SFTP putfo returns null attributes on empty file (regression) #142

Closed
jaraco opened this Issue Mar 4, 2013 · 1 comment

Projects

None yet

2 participants

@jaraco
Contributor
jaraco commented Mar 4, 2013

In fabric issue #881, an issue was identified where Paramiko will return a null response for putfo (sftp_client.py) even if confirm=True is indicated if the file is empty.

@jaraco jaraco added a commit to jaraco/paramiko that referenced this issue Mar 4, 2013
@jaraco jaraco Remove 'file_size' check from tests. The docstring indicates this par…
…ameter is to be passed to the callback, and there's no reason to think this parameter is relevant in affecting whether a useful stat object has been passed (especially when the 'confirm' parameter is explicitly supplied for that decision. This fixes #142.
3cd7f58
@jaraco jaraco added a commit to jaraco/paramiko that referenced this issue Mar 4, 2013
@jaraco jaraco Update NEWS per #142 abe009b
@bitprophet
Member

See #143

@bitprophet bitprophet closed this Apr 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment