pysftp

Project site
code.google.com
Description
Python Secure FTP module
Last commit
11 years ago
License
New BSD License
Last release
11 years ago
Repository
http://pysftp.googlecode.com/svn/trunk/

Summary

pysftp

pysftp is an easy to use sftp module that utilizes paramiko and pycrypto.

support/user list

http://groups.google.com/group/pysftp

changes

0.2.2 The following methods were added:

  • chdir(path) - change the current working directory on the remote
  • getcwd() - return the current working directory on the remote
  • listdir(path='.') - return a list of files for the given path

quick start

import pysftp

srv = pysftp.Connect('www.yoursever.com') srv.execute('ls -al') srv.get('thefile.txt') srv.put('anotherfile.txt') srv.close()

features

  • gracefully handles both RSA and DSS private key files automatically
  • Supports encrypted private key files.
  • logging can now be enabled/disabled
  • now supports easyinstall -- easyinstall pysftp
  • listed on PyPI http://pypi.python.org/pypi/pysftp

Connection parameters

Arguments that are not given are guessed from the environment.

parameter description
host The Hostname of the remote machine.
username Your username at the remote machine.(None)
privatekey Your private key file.(None)
password Your password at the remote machine.(None)
port The SSH port of the remote machine.(22)
privatekeypass password to use if your privatekey is encrypted(None)
log log connection/handshake details (False)

Social media

  • delicious 4

Latest releases

You might also like...

Comments

Source Code Commits

  • 9. added new methods to move around directories and list files (11 years ago)
  • 9. added new methods to move around directories and list files (11 years ago)
  • 9. added new methods to move around directories and list files (11 years ago)
  • 9. added new methods to move around directories and list files (11 years ago)
  • 9. added new methods to move around directories and list files (11 years ago)

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is anticipated with distaste, performed with reluctance, and bragged about forever.” - Dan Kaminsky