API — pysftp 0.2.8 documentation
pysftp.readthedocs.io › en › release_0pysftp.reparent (newparent, oldpath) ¶ when copying or moving a directory structure, you need to re-parent the oldpath. When using os.path.join to calculate this new path, the appearance of a / root path at the beginning of oldpath, supplants the newparent and we don’t want this to happen, so we need to make the oldpath root appear as a ...
API — pysftp 0.2.8 documentation
https://pysftp.readthedocs.io/en/release_0.2.8/pysftp.htmlpysftp.reparent (newparent, oldpath) ¶ when copying or moving a directory structure, you need to re-parent the oldpath. When using os.path.join to calculate this new path, the appearance of a / root path at the beginning of oldpath, supplants the newparent and we don’t want this to happen, so we need to make the oldpath root appear as a child of the newparent.
pysftp - PyPI
https://pypi.org/project/pysftp05.07.2016 · Change Log. 0.2.9 (current, released 2016-07-04) bugfix: correctly implement hostcheck. Now, be default pysftp will verify the host. See pysftp.CnOpts.hostkeys; added pysftp.Connection.remote_server_key - used to retrieve the remote hosts server key.; added support for enabling compression, compression (J. Kruth) added .active_compression, to …
API — pysftp 0.2.9 documentation - Read the Docs
pysftp.readthedocs.io › en › release_0(float|None) seconds to wait for a pending read/write operation before raising socket.timeout, or None for no timeout truncate(remotepath, size) ¶ Change the size of the file specified by path. Used to modify the size of the file, just like the truncate method on Python file objects. The new file size is confirmed and returned. unlink(remotefile) ¶
pysftp - PyPI
pypi.org › project › pysftpJul 05, 2016 · Now, be default pysftp will verify the host. See pysftp.CnOpts.hostkeys. added pysftp.Connection.remote_server_key - used to retrieve the remote hosts server key. fixed an unwanted logging side-effect, after you set logging, it would remain, even if you closed the .Connection and couldn’t be changed to something else.