API — pysftp 0.2.8 documentation
pysftp.readthedocs.io › en › release_0Parameters: localpath (str) – the local path and filename; remotepath (str) – the remote path, else the remote pwd and filename is used.; callback (callable) – optional callback function (form: func(int, int)) that accepts the bytes transferred so far and the total bytes to be transferred..
pysftp - PyPI
pypi.org › project › pysftpJul 05, 2016 · added .truncate, method returns the new file size; improved DRY’ness of test suite; 0.2.6 (released 2014-05-17) added preserve_mtime parameter to .put, optionally updates the remote file’s st_mtime to match the local file. added preserve_mtime parameter to .get, optionally updates the local file’s st_mtime to match the remote file