- Add bandwidth control (
limit_bw
)
- Update docstrings to clarify sanitation and use of wildcards
- Make sure to close the local file on errors
- Update type hints for pyright
- Add type hints
- Don't fail if the remote path is a PurePath not a Path
- Don't fail if 'pathlib' doesn't import (Python 2)
- Accept 'unicode' objects as paths (Python 2)
- Accept iterables other than list and tuple in
get()
andput()
- Accept
pathlib.Path
objects
- Fix put when the source directory has a trailing slash. It will now work similarly to rsync, copying the contents of the directory.
- Fix extra space sent in SSH command-line for
get()
, causing issues on some servers
- Add
scp_command
attribute, allowing changing the command run on the server (for example tosudo scp
)
- Fix hanging when underlying paramiko channel is closed
- Fix AssertionError in recursive get() when
_rename
is set and server sends a POPD at the end (_depth > 0
)
- Guard against some malformed messages from the server
- Remove all introspection logic for
progress
callback introduced in 0.12 progress
callback only accept 3 arguments again- Introduce
progress4
parameter which accepts the peername as 4th argument
- Fix
progress
callback failing when it is an instance or class method
- Fix README.rst for PyPI
- Add possibility of getting the peer IP and port from the
progress
callback - Make
putfo()
work with file-like objects that don't providegetvalue()
- Add
putfo()
method, allowing one to upload a file-like object - Add top-level
get()
andput()
functions for convenience - Increase default socket time from 5 to 10 seconds
- Fixes using the SCPClient multiple times
- SCPClient can be used as a context manager
- Added
close()
- Add changelog
- Finish up py3k and unicode support
- Unicode should work on OSX, Windows and Linux
- Some tests have been added