paramiko: SSH for Python, sftp.put

when using

sftp.put(source,dest)

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

IOError

with Paramiko SFTP Put on Python