Cook Book — pysftp 0.2.8 documentation
pysftp.readthedocs.io › en › release_0pysftp.Connection.walktree() ¶ Is a powerful method that can recursively (default) walk a remote directory structure and calls a user-supplied callback functions for each file, directory or unknown entity it encounters. It is used in the get_x methods of pysftp and can be used with great effect to do your own bidding.
Cook Book — pysftp 0.2.8 documentation
pysftp.readthedocs.io/en/release_0.2.8/cookbook.htmlpysftp.Connection.chown() ¶ pysftp’s method allows you to specify just, gid or the uid or both. If either gid or uid is None (default), then pysftp does a stat to get the current ids and uses that to fill in the missing parameter because the underlying paramiko method requires that you explicitly set both.. NOTE uid and gid are integers and relative to each system.
API — pysftp 0.2.8 documentation
pysftp.readthedocs.io › en › release_0If set to True, pysftp creates a temporary file and logs to that. If set to a valid path and filename, pysftp logs to that. The name of the logfile can be found at .logfile; Returns: (obj) connection to the requested host. Raises: ConnectionException – CredentialException – SSHException – AuthenticationException ...