pysftp.readthedocs.io - Welcome to pysftp’s documentation! — pysftp 0.2.9 documentation

Example domain paragraphs

A simple interface to sftp. based on zeth’s ssh.py

import pysftp with pysftp . Connection ( 'hostname' , username = 'me' , password = 'secret' ) as sftp : with sftp . cd ( 'public' ): # temporarily chdir to public sftp . put ( '/my/local/filename' ) # upload file to public/ on remote sftp . get ( 'remote_file' ) # get a remote file Supports ¶ Tested on Python 2.7, 3.2, 3.3, 3.4

© Copyright 2016, Jeff Hinrichs. Revision 6e712d739b2b+ .