I am connecting to an SFTP server using pysftp
but need to reconfigure it to go through a proxy. Since pysftp doesn't support it, I'm thinking of using Paramiko
.
Looks like I'm utilizing the benefits of pysftp.Connection, since it looks like my code is using recursive file transfers.
What are the steps I would need to do to re-create pysftp.Connection
but with the option to use a proxy? Looking through the codebase is a little frightening since I'm not sure what to edit...