Communicate with a Server via SFTP using Python

A Step by Step Guide to a Complicated Process

Photo by Thomas Jensen on Unsplash

If you enjoy automating things in python, you are going to need to know how to upload and download files from a server. SFTP (Secure Shell File Transfer Protocol) has replaced the less secure FTP almost everywhere. This is great for the enhanced security, but it adds a layer of complexity when scripting the…