Package paramiko :: 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.
  __del__(self)
  chdir(self, path)
Change the "current directory" of this SFTP session.
  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.
  close(self)
Close the SFTP session and its underlying channel.
SFTPFile file(self, filename, mode, bufsize)
Open a file on the remote server.
SFTPClient from_transport(selfclass, t)
Create an SFTP client channel from an open Transport. (Class method)
  get(self, remotepath, localpath)
Copy a remote file (remotepath) from the SFTP server to the local host as localpath.
str getcwd(self)
Return the "current working directory" for this SFTP session, as emulated by paramiko.
list of str listdir(self, path)
Return a list containing the names of the entries in the given path.
list of SFTPAttributes listdir_attr(self, path)
Return a list containing SFTPAttributes objects corresponding to files 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.
  put(self, localpath, remotepath)
Copy a local file (localpath) to the SFTP server as remotepath.
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.
    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 4 11:16:47 2005 http://epydoc.sf.net