Skip to content
Advertisement

Tag: sftp

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

Upload file via SFTP with Python

I wrote a simple code to upload a file to a SFTP server in Python. I am using Python 2.7. The file did not appear on the server. However, no error message appeared. What is wrong with the code? I have enabled logging. I discovered that the file is uploaded to the root folder and not under public folder. Seems

Advertisement