I\'m new to Python so forgive me if this is basic, I\'ve searched but can\'t find an answer. I\'m trying to convert a Perl script into Python (3.x) which connects to a remot
This looks like a usable walk-function. Currently not tested by me.
https://pysftp.readthedocs.org/en/release_0.2.8/pysftp.html#pysftp.Connection.walktree