Python paramiko SFTP syntax notes

When using Paramiko

sftp.put(source, dest)

dest must include the file name–otherwise you’ll get

IOError

with Paramiko SFTP Put on Python