Skip to content
Advertisement

pysftp vs. Paramiko

I have a simple requirement to drop a file on an SFTP server. I have found pysftp and Paramiko libraries that seem to allow me to this and developed a simple application using Paramiko but I can’t find a proper source that compares the two so I can decide which one I can/should use. What are the pros and cons for each?

Advertisement

Answer

pysftp is a wrapper around Paramiko with a more Python-ish interface.

pysftp interface does not expose all of the features of Paramiko. On the other hand, pysftp implements more high-level features on top of Paramiko, notably recursive file transfers.


User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement