Package paramiko :: Module sftp_client :: Class SFTP
[show private | hide private]
[frames | no frames]

Type SFTP

object --+        
         |        
  BaseSFTP --+    
             |    
    SFTPClient --+
                 |
                SFTP


an alias for SFTPClient for backwards compatability
Method Summary
    Inherited from SFTPClient
  __init__(self, sock)
Create an SFTP client from an existing Channel.
  chmod(self, path, mode)
Change the mode (permissions) of a file.
  chown(self, path, uid, gid)
Change the owner (uid) and group (gid) of a file.
SFTPClient from_transport(selfclass, t)
Create an SFTP client channel from an open Transport. (Class method)
list of string listdir(self, path)
Return a list containing the names of the entries in the given path.
SFTPAttributes lstat(self, path)
Retrieve information about a file on the remote system, without following symbolic links (shortcuts).
  mkdir(self, path, mode)
Create a folder (directory) named path with numeric mode mode.
str normalize(self, path)
Return the normalized path (on the server) of a given path.
SFTPFile open(self, filename, mode, bufsize)
Open a file on the remote server.
str readlink(self, path)
Return the target of a symbolic link (shortcut).
  remove(self, path)
Remove the file at the given path.
  rename(self, oldpath, newpath)
Rename a file or folder from oldpath to newpath.
  rmdir(self, path)
Remove the folder named path.
SFTPAttributes stat(self, path)
Retrieve information about a file on the remote system.
  symlink(self, source, dest)
Create a symbolic link (shortcut) of the source path at destination.
  unlink(self, path)
Remove the file at the given path.
  utime(self, path, times)
Set the access and modified times of the file specified by path.
  _convert_status(self, msg)
Raises EOFError or IOError on error status; otherwise does nothing.
  _request(self, t, *arg)
    Inherited from BaseSFTP
  _log(self, level, msg)
  _read_all(self, n)
  _read_packet(self)
  _send_packet(self, t, packet)
  _send_server_version(self)
  _send_version(self)
  _write_all(self, out)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Generated by Epydoc 2.1 on Sun Dec 12 02:04:27 2004 http://epydoc.sf.net