29

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?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Jorjani
  • 827
  • 1
  • 16
  • 31

1 Answers1

46

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.


Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992