How do you use Paramiko to transfer complete directories? I\'m trying to use:
sftp.put(\"/Folder1\",\"/Folder2\")
which is giving me this e
Paramiko does not support directory transfers on its own. You have to implement it, as many existing answers here show.
Or you can use pysftp. It's a wrapper around Paramiko that has more Python-ish look and feel and supports recursive operations. See
Or you can just base your code on pysftp source code. Full a standalone portable Paramiko-only code see my answers to:
And as my answers above show, you actually have to use your own code, if you are on Windows, as pysftp does not work there.