summaryrefslogtreecommitdiff
path: root/paramiko/sftp_client.py
Commit message (Collapse)AuthorAgeFilesLines
* Changelog and docstring tweaks re #1846Jeff Forcier2021-06-061-2/+6
|
* Make prefetching optional in get() and getfo()h3ll0r2021-04-261-4/+9
| | | | | In some cases prefetching can lead to problems when downloading larger files. The connection to the SFTP server is disconnected due to the query behavior. Proprietary implementations in particular tend to behave that way. Switching off prefetching is a slow but resilient solution to this problem.
* Merge branch '2.4'Jeff Forcier2018-08-221-0/+1
|\
| * Bump black up to 18.6b4Jeff Forcier2018-08-221-0/+1
| |
* | Merge branch '2.4'Jeff Forcier2018-05-291-71/+104
|\ \ | |/
| * Blacken Paramiko on 2.4Chris Rose2018-05-171-71/+104
| |
* | Fold py3compat.bytestring() into py3compat.b()Jeff Forcier2017-12-181-2/+2
|/ | | | | | Super unclear to me why both existed, even tho both were apparently added at the same time, in the great 2013 python3-ening.
* flake8 for previous changesetJeff Forcier2017-10-111-3/+7
|
* String format modernization, part 11070-remove-python26-and-33Jeff Forcier2017-10-101-26/+28
| | | | | | | Choosing to skip it in some edge/corner cases where it's more harmful than helpful. Also choosing to replace many non-%s specifiers with regular old {} since I don't see why one would normally care. Again, eschewing that in spots where it seems like it might matter.
* sftp: fix BytesWarning: str() on a bytes instanceMichal Reznik2017-09-261-1/+1
| | | | | | | | when running the code with python3 we get BytesWarning as what we receive from hexlify() function is bytes. Use u() from py3compat to overcome the issue. Fix: https://github.com/paramiko/paramiko/issues/1074
* Enhance SFTP client & server docs re: posix_rename and its relation to renameJeff Forcier2017-07-131-0/+7
| | | | Fixes #1016, re #1012
* Merge branch '2.1'Jeff Forcier2017-06-091-7/+4
|\
| * Flake8/etc tweaks re #971 in 2.xJeff Forcier2017-06-091-3/+1
| |
| * Tweak comments as suggested in reviewMartin Packman2017-06-091-0/+2
| | | | | | | | Thanks to bitprophet and ploxiln.
| * Allow any buffer type to be written to SFTPFileMartin Packman2017-06-091-4/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes #967 #968 Rollup of earlier branches proposed as #969 and #970 with additional fix inside sftp_client. Includes new tests for SFTPFile usage. Change against the 1.17 branch.
* | sphinx nitpick fixesJeff Forcier2017-06-061-1/+2
| |
* | flake8Jeff Forcier2017-06-061-5/+8
| |
* | Merge branch 'master' into 471-intJeff Forcier2017-06-061-72/+100
|\ \ | |/
| * Move to 'inv sites' style doc nitpicking.Jeff Forcier2017-06-051-9/+10
| | | | | | | | | | | | | | Existing just-warnings setup was old and not as rigorous as my usual. Required a lot of stupid little changes, but now same tooling for all projects, toot toot.
| * Remove useless/wrong return statementJeff Forcier2017-06-011-2/+0
| |
| * Additional house style formatting tweaks, mostly re: removal of line ↵Jeff Forcier2017-05-311-9/+11
| | | | | | | | continuations
| * Fix failing tests and explain the unusual code.Dorian Pula2017-05-311-1/+4
| |
| * Additional PEP8 fixes.Dorian Pula2017-05-311-30/+49
| |
| * untie agian!james mike dupont2017-01-241-2/+2
| |
| * Merge branch '1.15' into 1.16Jeff Forcier2016-04-241-10/+14
| |\
| | * fix sftp stallsStephen C. Pope2016-04-241-10/+14
| | |
| * | Merge branch '1.15' into 1.16Jeff Forcier2016-04-231-18/+18
| |\ \ | | |/
| | * Refactor because ugh.Jeff Forcier2016-04-231-19/+18
| | | | | | | | | | | | | | | | | | Original contributor probably meant to patch both of these...BUT. Fuck copy-pasting. Fuck iiiiiit
| | * Update sftp_client.pyAbhinav2016-04-231-2/+2
| | |
| * | Remove vestigial extra 'stat' call in SFTPClient.get()Jeff Forcier2015-11-041-1/+0
| | | | | | | | | | | | Was apparently not removed when getfo() was born.
| * | Merge branch 'master' into 562-intJeff Forcier2015-11-041-1/+2
| |\ \
| | * \ Merge branch '1.15'Jeff Forcier2015-11-021-1/+1
| | |\ \ | | | |/
| | | * Merge branch '1.14' into 1.15Jeff Forcier2015-11-021-1/+1
| | | |\
| | | | * Fix a handful of non-strict warnings in the Sphinx docs.Jeff Forcier2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out there's a reason we haven't run the strict checker (sphinx-build -nW) before - it tries to resolve literally every info-list field like ':raises IOError:' and sphinx is apparently not cool enough to mesh that with intersphinx.
| | * | | Add TODO found while poking API from fabric v2Jeff Forcier2015-08-171-0/+1
| | |/ /
| * | | prefetch now requires file_size to be passed in as a parameterTorkil Gustavsen2015-07-231-2/+3
| |/ / | | | | | | | | | | | | Calling stat from inside the prefetch-body has led users to receive IOError: The message [<filename>] is not extractable.
* | | Add method for "posix-rename@openssh.com" extension for SFTP client.Mika Pflüger2015-01-061-2/+19
|/ / | | | | | | Based on work of Warren Turkal
* | Converted all staticmethod/classmethod instances to decorators.Jacob Beck2014-10-141-2/+2
| |
* | Merge branch 'master' into 216-intJeff Forcier2014-09-101-4/+18
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: paramiko/transport.py paramiko/util.py tests/test_client.py
| * | Add versionchanged notices, and some minor formatting tweaksJeff Forcier2014-09-081-0/+3
| | |
| * | Merge branch 'master' into 372-intJeff Forcier2014-09-081-8/+71
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: paramiko/channel.py tests/test_util.py
| * | | Expose the ability to set window/packet for sftp.Olle Lundberg2014-08-141-4/+15
| | | |
* | | | Document that classes can be used as context managersMichael Williamson2014-09-071-0/+2
| | | |
* | | | Convert SFTPClient to a context managerMichael Williamson2014-09-071-1/+2
| |/ / |/| |
* | | Fix an oversight re: py3 & strings in listdir_iterJeff Forcier2014-09-051-2/+2
| | |
* | | Make read ahead kwarg a bit less verboseJeff Forcier2014-09-051-3/+3
| | |
* | | 80-col tweaksJeff Forcier2014-09-051-5/+9
| | |
* | | Update docstring for listdir_iterJeff Forcier2014-09-051-13/+8
| | |
* | | Merge branch 'master' into 131-intJeff Forcier2014-09-051-290/+249
|\ \ \ | | |/ | |/|
| * | Updating doco for sftp_client.put()w3iBStime2014-08-251-1/+3
| | | | | | | | | | | | Adding a note to indicate that the remotepath should include a filename.