diff options
Diffstat (limited to 'docs/paramiko.sftp-pysrc.html')
-rw-r--r-- | docs/paramiko.sftp-pysrc.html | 798 |
1 files changed, 0 insertions, 798 deletions
diff --git a/docs/paramiko.sftp-pysrc.html b/docs/paramiko.sftp-pysrc.html deleted file mode 100644 index c01fb55..0000000 --- a/docs/paramiko.sftp-pysrc.html +++ /dev/null @@ -1,798 +0,0 @@ -<?xml version="1.0" encoding="ascii"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> - <title>paramiko.sftp</title> - <link rel="stylesheet" href="epydoc.css" type="text/css" /> - <script type="text/javascript" src="epydoc.js"></script> -</head> - -<body bgcolor="white" text="black" link="blue" vlink="#204080" - alink="#204080"> -<!-- ==================== NAVIGATION BAR ==================== --> -<table class="navbar" border="0" width="100%" cellpadding="0" - bgcolor="#a0c0ff" cellspacing="0"> - <tr valign="middle"> - <!-- Home link --> - <th> <a - href="paramiko-module.html">Home</a> </th> - - <!-- Tree link --> - <th> <a - href="module-tree.html">Trees</a> </th> - - <!-- Index link --> - <th> <a - href="identifier-index.html">Indices</a> </th> - - <!-- Help link --> - <th> <a - href="help.html">Help</a> </th> - - <th class="navbar" width="100%"></th> - </tr> -</table> -<table width="100%" cellpadding="0" cellspacing="0"> - <tr valign="top"> - <td width="100%"> - <span class="breadcrumbs"> - <a href="paramiko-module.html">Package paramiko</a> :: - Module sftp - </span> - </td> - <td> - <table cellpadding="0" cellspacing="0"> - <!-- hide/show private --> - <tr><td align="right"><span class="options" - >[<a href="frames.html" target="_top">frames</a - >] | <a href="paramiko.sftp-pysrc.html" - target="_top">no frames</a>]</span></td></tr> - </table> - </td> - </tr> -</table> -<h1 class="epydoc">Source Code for <a href="paramiko.sftp-module.html" onclick="show_private();">Module paramiko.sftp</a></h1> -<pre class="py-src"> -<a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com></tt> </tt> -<a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> -<a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># This file is part of paramiko.</tt> </tt> -<a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> -<a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># Paramiko is free software; you can redistribute it and/or modify it under the</tt> </tt> -<a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># terms of the GNU Lesser General Public License as published by the Free</tt> </tt> -<a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># Software Foundation; either version 2.1 of the License, or (at your option)</tt> </tt> -<a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># any later version.</tt> </tt> -<a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> -<a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"># Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY</tt> </tt> -<a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"># WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR</tt> </tt> -<a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"># A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more</tt> </tt> -<a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"># details.</tt> </tt> -<a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> -<a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"># You should have received a copy of the GNU Lesser General Public License</tt> </tt> -<a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"># along with Paramiko; if not, write to the Free Software Foundation, Inc.,</tt> </tt> -<a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"># 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.</tt> </tt> -<a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"> </tt> -<a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">select</tt> </tt> -<a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">socket</tt> </tt> -<a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">struct</tt> </tt> -<a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"> </tt> -<a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package paramiko=paramiko-module.html"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-0', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Module paramiko.common=paramiko.common-module.html"><a title="paramiko.common" class="py-name" href="#" onclick="return doclink('link-1', 'common', 'link-1');">common</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt> -<a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-2', 'paramiko', 'link-0');">paramiko</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Module paramiko.util=paramiko.util-module.html"><a title="paramiko.util" class="py-name" href="#" onclick="return doclink('link-3', 'util', 'link-3');">util</a></tt> </tt> -<a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-4', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Module paramiko.channel=paramiko.channel-module.html"><a title="paramiko.channel" class="py-name" href="#" onclick="return doclink('link-5', 'channel', 'link-5');">channel</a></tt> <tt class="py-keyword">import</tt> <tt id="link-6" class="py-name" targets="Class paramiko.Channel=paramiko.Channel-class.html"><a title="paramiko.Channel" class="py-name" href="#" onclick="return doclink('link-6', 'Channel', 'link-6');">Channel</a></tt> </tt> -<a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-7" class="py-name"><a title="paramiko" class="py-name" href="#" onclick="return doclink('link-7', 'paramiko', 'link-0');">paramiko</a></tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Module paramiko.message=paramiko.message-module.html"><a title="paramiko.message" class="py-name" href="#" onclick="return doclink('link-8', 'message', 'link-8');">message</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Class paramiko.Message=paramiko.Message-class.html"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-9', 'Message', 'link-9');">Message</a></tt> </tt> -<a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"> </tt> -<a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"> </tt> -<a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt id="link-10" class="py-name" targets="Variable paramiko.sftp.CMD_INIT=paramiko.sftp-module.html#CMD_INIT,Variable paramiko.sftp_attr.CMD_INIT=paramiko.sftp_attr-module.html#CMD_INIT,Variable paramiko.sftp_client.CMD_INIT=paramiko.sftp_client-module.html#CMD_INIT,Variable paramiko.sftp_file.CMD_INIT=paramiko.sftp_file-module.html#CMD_INIT,Variable paramiko.sftp_handle.CMD_INIT=paramiko.sftp_handle-module.html#CMD_INIT,Variable paramiko.sftp_server.CMD_INIT=paramiko.sftp_server-module.html#CMD_INIT,Variable paramiko.sftp_si.CMD_INIT=paramiko.sftp_si-module.html#CMD_INIT"><a title="paramiko.sftp.CMD_INIT -paramiko.sftp_attr.CMD_INIT -paramiko.sftp_client.CMD_INIT -paramiko.sftp_file.CMD_INIT -paramiko.sftp_handle.CMD_INIT -paramiko.sftp_server.CMD_INIT -paramiko.sftp_si.CMD_INIT" class="py-name" href="#" onclick="return doclink('link-10', 'CMD_INIT', 'link-10');">CMD_INIT</a></tt><tt class="py-op">,</tt> <tt id="link-11" class="py-name" targets="Variable paramiko.sftp.CMD_VERSION=paramiko.sftp-module.html#CMD_VERSION,Variable paramiko.sftp_attr.CMD_VERSION=paramiko.sftp_attr-module.html#CMD_VERSION,Variable paramiko.sftp_client.CMD_VERSION=paramiko.sftp_client-module.html#CMD_VERSION,Variable paramiko.sftp_file.CMD_VERSION=paramiko.sftp_file-module.html#CMD_VERSION,Variable paramiko.sftp_handle.CMD_VERSION=paramiko.sftp_handle-module.html#CMD_VERSION,Variable paramiko.sftp_server.CMD_VERSION=paramiko.sftp_server-module.html#CMD_VERSION,Variable paramiko.sftp_si.CMD_VERSION=paramiko.sftp_si-module.html#CMD_VERSION"><a title="paramiko.sftp.CMD_VERSION -paramiko.sftp_attr.CMD_VERSION -paramiko.sftp_client.CMD_VERSION -paramiko.sftp_file.CMD_VERSION -paramiko.sftp_handle.CMD_VERSION -paramiko.sftp_server.CMD_VERSION -paramiko.sftp_si.CMD_VERSION" class="py-name" href="#" onclick="return doclink('link-11', 'CMD_VERSION', 'link-11');">CMD_VERSION</a></tt><tt class="py-op">,</tt> <tt id="link-12" class="py-name" targets="Variable paramiko.sftp.CMD_OPEN=paramiko.sftp-module.html#CMD_OPEN,Variable paramiko.sftp_attr.CMD_OPEN=paramiko.sftp_attr-module.html#CMD_OPEN,Variable paramiko.sftp_client.CMD_OPEN=paramiko.sftp_client-module.html#CMD_OPEN,Variable paramiko.sftp_file.CMD_OPEN=paramiko.sftp_file-module.html#CMD_OPEN,Variable paramiko.sftp_handle.CMD_OPEN=paramiko.sftp_handle-module.html#CMD_OPEN,Variable paramiko.sftp_server.CMD_OPEN=paramiko.sftp_server-module.html#CMD_OPEN,Variable paramiko.sftp_si.CMD_OPEN=paramiko.sftp_si-module.html#CMD_OPEN"><a title="paramiko.sftp.CMD_OPEN -paramiko.sftp_attr.CMD_OPEN -paramiko.sftp_client.CMD_OPEN -paramiko.sftp_file.CMD_OPEN -paramiko.sftp_handle.CMD_OPEN -paramiko.sftp_server.CMD_OPEN -paramiko.sftp_si.CMD_OPEN" class="py-name" href="#" onclick="return doclink('link-12', 'CMD_OPEN', 'link-12');">CMD_OPEN</a></tt><tt class="py-op">,</tt> <tt id="link-13" class="py-name" targets="Variable paramiko.sftp.CMD_CLOSE=paramiko.sftp-module.html#CMD_CLOSE,Variable paramiko.sftp_attr.CMD_CLOSE=paramiko.sftp_attr-module.html#CMD_CLOSE,Variable paramiko.sftp_client.CMD_CLOSE=paramiko.sftp_client-module.html#CMD_CLOSE,Variable paramiko.sftp_file.CMD_CLOSE=paramiko.sftp_file-module.html#CMD_CLOSE,Variable paramiko.sftp_handle.CMD_CLOSE=paramiko.sftp_handle-module.html#CMD_CLOSE,Variable paramiko.sftp_server.CMD_CLOSE=paramiko.sftp_server-module.html#CMD_CLOSE,Variable paramiko.sftp_si.CMD_CLOSE=paramiko.sftp_si-module.html#CMD_CLOSE"><a title="paramiko.sftp.CMD_CLOSE -paramiko.sftp_attr.CMD_CLOSE -paramiko.sftp_client.CMD_CLOSE -paramiko.sftp_file.CMD_CLOSE -paramiko.sftp_handle.CMD_CLOSE -paramiko.sftp_server.CMD_CLOSE -paramiko.sftp_si.CMD_CLOSE" class="py-name" href="#" onclick="return doclink('link-13', 'CMD_CLOSE', 'link-13');">CMD_CLOSE</a></tt><tt class="py-op">,</tt> <tt id="link-14" class="py-name" targets="Variable paramiko.sftp.CMD_READ=paramiko.sftp-module.html#CMD_READ,Variable paramiko.sftp_attr.CMD_READ=paramiko.sftp_attr-module.html#CMD_READ,Variable paramiko.sftp_client.CMD_READ=paramiko.sftp_client-module.html#CMD_READ,Variable paramiko.sftp_file.CMD_READ=paramiko.sftp_file-module.html#CMD_READ,Variable paramiko.sftp_handle.CMD_READ=paramiko.sftp_handle-module.html#CMD_READ,Variable paramiko.sftp_server.CMD_READ=paramiko.sftp_server-module.html#CMD_READ,Variable paramiko.sftp_si.CMD_READ=paramiko.sftp_si-module.html#CMD_READ"><a title="paramiko.sftp.CMD_READ -paramiko.sftp_attr.CMD_READ -paramiko.sftp_client.CMD_READ -paramiko.sftp_file.CMD_READ -paramiko.sftp_handle.CMD_READ -paramiko.sftp_server.CMD_READ -paramiko.sftp_si.CMD_READ" class="py-name" href="#" onclick="return doclink('link-14', 'CMD_READ', 'link-14');">CMD_READ</a></tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name" targets="Variable paramiko.sftp.CMD_WRITE=paramiko.sftp-module.html#CMD_WRITE,Variable paramiko.sftp_attr.CMD_WRITE=paramiko.sftp_attr-module.html#CMD_WRITE,Variable paramiko.sftp_client.CMD_WRITE=paramiko.sftp_client-module.html#CMD_WRITE,Variable paramiko.sftp_file.CMD_WRITE=paramiko.sftp_file-module.html#CMD_WRITE,Variable paramiko.sftp_handle.CMD_WRITE=paramiko.sftp_handle-module.html#CMD_WRITE,Variable paramiko.sftp_server.CMD_WRITE=paramiko.sftp_server-module.html#CMD_WRITE,Variable paramiko.sftp_si.CMD_WRITE=paramiko.sftp_si-module.html#CMD_WRITE"><a title="paramiko.sftp.CMD_WRITE -paramiko.sftp_attr.CMD_WRITE -paramiko.sftp_client.CMD_WRITE -paramiko.sftp_file.CMD_WRITE -paramiko.sftp_handle.CMD_WRITE -paramiko.sftp_server.CMD_WRITE -paramiko.sftp_si.CMD_WRITE" class="py-name" href="#" onclick="return doclink('link-15', 'CMD_WRITE', 'link-15');">CMD_WRITE</a></tt><tt class="py-op">,</tt> <tt id="link-16" class="py-name" targets="Variable paramiko.sftp.CMD_LSTAT=paramiko.sftp-module.html#CMD_LSTAT,Variable paramiko.sftp_attr.CMD_LSTAT=paramiko.sftp_attr-module.html#CMD_LSTAT,Variable paramiko.sftp_client.CMD_LSTAT=paramiko.sftp_client-module.html#CMD_LSTAT,Variable paramiko.sftp_file.CMD_LSTAT=paramiko.sftp_file-module.html#CMD_LSTAT,Variable paramiko.sftp_handle.CMD_LSTAT=paramiko.sftp_handle-module.html#CMD_LSTAT,Variable paramiko.sftp_server.CMD_LSTAT=paramiko.sftp_server-module.html#CMD_LSTAT,Variable paramiko.sftp_si.CMD_LSTAT=paramiko.sftp_si-module.html#CMD_LSTAT"><a title="paramiko.sftp.CMD_LSTAT -paramiko.sftp_attr.CMD_LSTAT -paramiko.sftp_client.CMD_LSTAT -paramiko.sftp_file.CMD_LSTAT -paramiko.sftp_handle.CMD_LSTAT -paramiko.sftp_server.CMD_LSTAT -paramiko.sftp_si.CMD_LSTAT" class="py-name" href="#" onclick="return doclink('link-16', 'CMD_LSTAT', 'link-16');">CMD_LSTAT</a></tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name" targets="Variable paramiko.sftp.CMD_FSTAT=paramiko.sftp-module.html#CMD_FSTAT,Variable paramiko.sftp_attr.CMD_FSTAT=paramiko.sftp_attr-module.html#CMD_FSTAT,Variable paramiko.sftp_client.CMD_FSTAT=paramiko.sftp_client-module.html#CMD_FSTAT,Variable paramiko.sftp_file.CMD_FSTAT=paramiko.sftp_file-module.html#CMD_FSTAT,Variable paramiko.sftp_handle.CMD_FSTAT=paramiko.sftp_handle-module.html#CMD_FSTAT,Variable paramiko.sftp_server.CMD_FSTAT=paramiko.sftp_server-module.html#CMD_FSTAT,Variable paramiko.sftp_si.CMD_FSTAT=paramiko.sftp_si-module.html#CMD_FSTAT"><a title="paramiko.sftp.CMD_FSTAT -paramiko.sftp_attr.CMD_FSTAT -paramiko.sftp_client.CMD_FSTAT -paramiko.sftp_file.CMD_FSTAT -paramiko.sftp_handle.CMD_FSTAT -paramiko.sftp_server.CMD_FSTAT -paramiko.sftp_si.CMD_FSTAT" class="py-name" href="#" onclick="return doclink('link-17', 'CMD_FSTAT', 'link-17');">CMD_FSTAT</a></tt><tt class="py-op">,</tt> \ </tt> -<a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> <tt id="link-18" class="py-name" targets="Variable paramiko.sftp.CMD_SETSTAT=paramiko.sftp-module.html#CMD_SETSTAT,Variable paramiko.sftp_attr.CMD_SETSTAT=paramiko.sftp_attr-module.html#CMD_SETSTAT,Variable paramiko.sftp_client.CMD_SETSTAT=paramiko.sftp_client-module.html#CMD_SETSTAT,Variable paramiko.sftp_file.CMD_SETSTAT=paramiko.sftp_file-module.html#CMD_SETSTAT,Variable paramiko.sftp_handle.CMD_SETSTAT=paramiko.sftp_handle-module.html#CMD_SETSTAT,Variable paramiko.sftp_server.CMD_SETSTAT=paramiko.sftp_server-module.html#CMD_SETSTAT,Variable paramiko.sftp_si.CMD_SETSTAT=paramiko.sftp_si-module.html#CMD_SETSTAT"><a title="paramiko.sftp.CMD_SETSTAT -paramiko.sftp_attr.CMD_SETSTAT -paramiko.sftp_client.CMD_SETSTAT -paramiko.sftp_file.CMD_SETSTAT -paramiko.sftp_handle.CMD_SETSTAT -paramiko.sftp_server.CMD_SETSTAT -paramiko.sftp_si.CMD_SETSTAT" class="py-name" href="#" onclick="return doclink('link-18', 'CMD_SETSTAT', 'link-18');">CMD_SETSTAT</a></tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Variable paramiko.sftp.CMD_FSETSTAT=paramiko.sftp-module.html#CMD_FSETSTAT,Variable paramiko.sftp_attr.CMD_FSETSTAT=paramiko.sftp_attr-module.html#CMD_FSETSTAT,Variable paramiko.sftp_client.CMD_FSETSTAT=paramiko.sftp_client-module.html#CMD_FSETSTAT,Variable paramiko.sftp_file.CMD_FSETSTAT=paramiko.sftp_file-module.html#CMD_FSETSTAT,Variable paramiko.sftp_handle.CMD_FSETSTAT=paramiko.sftp_handle-module.html#CMD_FSETSTAT,Variable paramiko.sftp_server.CMD_FSETSTAT=paramiko.sftp_server-module.html#CMD_FSETSTAT,Variable paramiko.sftp_si.CMD_FSETSTAT=paramiko.sftp_si-module.html#CMD_FSETSTAT"><a title="paramiko.sftp.CMD_FSETSTAT -paramiko.sftp_attr.CMD_FSETSTAT -paramiko.sftp_client.CMD_FSETSTAT -paramiko.sftp_file.CMD_FSETSTAT -paramiko.sftp_handle.CMD_FSETSTAT -paramiko.sftp_server.CMD_FSETSTAT -paramiko.sftp_si.CMD_FSETSTAT" class="py-name" href="#" onclick="return doclink('link-19', 'CMD_FSETSTAT', 'link-19');">CMD_FSETSTAT</a></tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Variable paramiko.sftp.CMD_OPENDIR=paramiko.sftp-module.html#CMD_OPENDIR,Variable paramiko.sftp_attr.CMD_OPENDIR=paramiko.sftp_attr-module.html#CMD_OPENDIR,Variable paramiko.sftp_client.CMD_OPENDIR=paramiko.sftp_client-module.html#CMD_OPENDIR,Variable paramiko.sftp_file.CMD_OPENDIR=paramiko.sftp_file-module.html#CMD_OPENDIR,Variable paramiko.sftp_handle.CMD_OPENDIR=paramiko.sftp_handle-module.html#CMD_OPENDIR,Variable paramiko.sftp_server.CMD_OPENDIR=paramiko.sftp_server-module.html#CMD_OPENDIR,Variable paramiko.sftp_si.CMD_OPENDIR=paramiko.sftp_si-module.html#CMD_OPENDIR"><a title="paramiko.sftp.CMD_OPENDIR -paramiko.sftp_attr.CMD_OPENDIR -paramiko.sftp_client.CMD_OPENDIR -paramiko.sftp_file.CMD_OPENDIR -paramiko.sftp_handle.CMD_OPENDIR -paramiko.sftp_server.CMD_OPENDIR -paramiko.sftp_si.CMD_OPENDIR" class="py-name" href="#" onclick="return doclink('link-20', 'CMD_OPENDIR', 'link-20');">CMD_OPENDIR</a></tt><tt class="py-op">,</tt> <tt id="link-21" class="py-name" targets="Variable paramiko.sftp.CMD_READDIR=paramiko.sftp-module.html#CMD_READDIR,Variable paramiko.sftp_attr.CMD_READDIR=paramiko.sftp_attr-module.html#CMD_READDIR,Variable paramiko.sftp_client.CMD_READDIR=paramiko.sftp_client-module.html#CMD_READDIR,Variable paramiko.sftp_file.CMD_READDIR=paramiko.sftp_file-module.html#CMD_READDIR,Variable paramiko.sftp_handle.CMD_READDIR=paramiko.sftp_handle-module.html#CMD_READDIR,Variable paramiko.sftp_server.CMD_READDIR=paramiko.sftp_server-module.html#CMD_READDIR,Variable paramiko.sftp_si.CMD_READDIR=paramiko.sftp_si-module.html#CMD_READDIR"><a title="paramiko.sftp.CMD_READDIR -paramiko.sftp_attr.CMD_READDIR -paramiko.sftp_client.CMD_READDIR -paramiko.sftp_file.CMD_READDIR -paramiko.sftp_handle.CMD_READDIR -paramiko.sftp_server.CMD_READDIR -paramiko.sftp_si.CMD_READDIR" class="py-name" href="#" onclick="return doclink('link-21', 'CMD_READDIR', 'link-21');">CMD_READDIR</a></tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Variable paramiko.sftp.CMD_REMOVE=paramiko.sftp-module.html#CMD_REMOVE,Variable paramiko.sftp_attr.CMD_REMOVE=paramiko.sftp_attr-module.html#CMD_REMOVE,Variable paramiko.sftp_client.CMD_REMOVE=paramiko.sftp_client-module.html#CMD_REMOVE,Variable paramiko.sftp_file.CMD_REMOVE=paramiko.sftp_file-module.html#CMD_REMOVE,Variable paramiko.sftp_handle.CMD_REMOVE=paramiko.sftp_handle-module.html#CMD_REMOVE,Variable paramiko.sftp_server.CMD_REMOVE=paramiko.sftp_server-module.html#CMD_REMOVE,Variable paramiko.sftp_si.CMD_REMOVE=paramiko.sftp_si-module.html#CMD_REMOVE"><a title="paramiko.sftp.CMD_REMOVE -paramiko.sftp_attr.CMD_REMOVE -paramiko.sftp_client.CMD_REMOVE -paramiko.sftp_file.CMD_REMOVE -paramiko.sftp_handle.CMD_REMOVE -paramiko.sftp_server.CMD_REMOVE -paramiko.sftp_si.CMD_REMOVE" class="py-name" href="#" onclick="return doclink('link-22', 'CMD_REMOVE', 'link-22');">CMD_REMOVE</a></tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name" targets="Variable paramiko.sftp.CMD_MKDIR=paramiko.sftp-module.html#CMD_MKDIR,Variable paramiko.sftp_attr.CMD_MKDIR=paramiko.sftp_attr-module.html#CMD_MKDIR,Variable paramiko.sftp_client.CMD_MKDIR=paramiko.sftp_client-module.html#CMD_MKDIR,Variable paramiko.sftp_file.CMD_MKDIR=paramiko.sftp_file-module.html#CMD_MKDIR,Variable paramiko.sftp_handle.CMD_MKDIR=paramiko.sftp_handle-module.html#CMD_MKDIR,Variable paramiko.sftp_server.CMD_MKDIR=paramiko.sftp_server-module.html#CMD_MKDIR,Variable paramiko.sftp_si.CMD_MKDIR=paramiko.sftp_si-module.html#CMD_MKDIR"><a title="paramiko.sftp.CMD_MKDIR -paramiko.sftp_attr.CMD_MKDIR -paramiko.sftp_client.CMD_MKDIR -paramiko.sftp_file.CMD_MKDIR -paramiko.sftp_handle.CMD_MKDIR -paramiko.sftp_server.CMD_MKDIR -paramiko.sftp_si.CMD_MKDIR" class="py-name" href="#" onclick="return doclink('link-23', 'CMD_MKDIR', 'link-23');">CMD_MKDIR</a></tt><tt class="py-op">,</tt> \ </tt> -<a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> <tt id="link-24" class="py-name" targets="Variable paramiko.sftp.CMD_RMDIR=paramiko.sftp-module.html#CMD_RMDIR,Variable paramiko.sftp_attr.CMD_RMDIR=paramiko.sftp_attr-module.html#CMD_RMDIR,Variable paramiko.sftp_client.CMD_RMDIR=paramiko.sftp_client-module.html#CMD_RMDIR,Variable paramiko.sftp_file.CMD_RMDIR=paramiko.sftp_file-module.html#CMD_RMDIR,Variable paramiko.sftp_handle.CMD_RMDIR=paramiko.sftp_handle-module.html#CMD_RMDIR,Variable paramiko.sftp_server.CMD_RMDIR=paramiko.sftp_server-module.html#CMD_RMDIR,Variable paramiko.sftp_si.CMD_RMDIR=paramiko.sftp_si-module.html#CMD_RMDIR"><a title="paramiko.sftp.CMD_RMDIR -paramiko.sftp_attr.CMD_RMDIR -paramiko.sftp_client.CMD_RMDIR -paramiko.sftp_file.CMD_RMDIR -paramiko.sftp_handle.CMD_RMDIR -paramiko.sftp_server.CMD_RMDIR -paramiko.sftp_si.CMD_RMDIR" class="py-name" href="#" onclick="return doclink('link-24', 'CMD_RMDIR', 'link-24');">CMD_RMDIR</a></tt><tt class="py-op">,</tt> <tt id="link-25" class="py-name" targets="Variable paramiko.sftp.CMD_REALPATH=paramiko.sftp-module.html#CMD_REALPATH,Variable paramiko.sftp_attr.CMD_REALPATH=paramiko.sftp_attr-module.html#CMD_REALPATH,Variable paramiko.sftp_client.CMD_REALPATH=paramiko.sftp_client-module.html#CMD_REALPATH,Variable paramiko.sftp_file.CMD_REALPATH=paramiko.sftp_file-module.html#CMD_REALPATH,Variable paramiko.sftp_handle.CMD_REALPATH=paramiko.sftp_handle-module.html#CMD_REALPATH,Variable paramiko.sftp_server.CMD_REALPATH=paramiko.sftp_server-module.html#CMD_REALPATH,Variable paramiko.sftp_si.CMD_REALPATH=paramiko.sftp_si-module.html#CMD_REALPATH"><a title="paramiko.sftp.CMD_REALPATH -paramiko.sftp_attr.CMD_REALPATH -paramiko.sftp_client.CMD_REALPATH -paramiko.sftp_file.CMD_REALPATH -paramiko.sftp_handle.CMD_REALPATH -paramiko.sftp_server.CMD_REALPATH -paramiko.sftp_si.CMD_REALPATH" class="py-name" href="#" onclick="return doclink('link-25', 'CMD_REALPATH', 'link-25');">CMD_REALPATH</a></tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name" targets="Variable paramiko.sftp.CMD_STAT=paramiko.sftp-module.html#CMD_STAT,Variable paramiko.sftp_attr.CMD_STAT=paramiko.sftp_attr-module.html#CMD_STAT,Variable paramiko.sftp_client.CMD_STAT=paramiko.sftp_client-module.html#CMD_STAT,Variable paramiko.sftp_file.CMD_STAT=paramiko.sftp_file-module.html#CMD_STAT,Variable paramiko.sftp_handle.CMD_STAT=paramiko.sftp_handle-module.html#CMD_STAT,Variable paramiko.sftp_server.CMD_STAT=paramiko.sftp_server-module.html#CMD_STAT,Variable paramiko.sftp_si.CMD_STAT=paramiko.sftp_si-module.html#CMD_STAT"><a title="paramiko.sftp.CMD_STAT -paramiko.sftp_attr.CMD_STAT -paramiko.sftp_client.CMD_STAT -paramiko.sftp_file.CMD_STAT -paramiko.sftp_handle.CMD_STAT -paramiko.sftp_server.CMD_STAT -paramiko.sftp_si.CMD_STAT" class="py-name" href="#" onclick="return doclink('link-26', 'CMD_STAT', 'link-26');">CMD_STAT</a></tt><tt class="py-op">,</tt> <tt id="link-27" class="py-name" targets="Variable paramiko.sftp.CMD_RENAME=paramiko.sftp-module.html#CMD_RENAME,Variable paramiko.sftp_attr.CMD_RENAME=paramiko.sftp_attr-module.html#CMD_RENAME,Variable paramiko.sftp_client.CMD_RENAME=paramiko.sftp_client-module.html#CMD_RENAME,Variable paramiko.sftp_file.CMD_RENAME=paramiko.sftp_file-module.html#CMD_RENAME,Variable paramiko.sftp_handle.CMD_RENAME=paramiko.sftp_handle-module.html#CMD_RENAME,Variable paramiko.sftp_server.CMD_RENAME=paramiko.sftp_server-module.html#CMD_RENAME,Variable paramiko.sftp_si.CMD_RENAME=paramiko.sftp_si-module.html#CMD_RENAME"><a title="paramiko.sftp.CMD_RENAME -paramiko.sftp_attr.CMD_RENAME -paramiko.sftp_client.CMD_RENAME -paramiko.sftp_file.CMD_RENAME -paramiko.sftp_handle.CMD_RENAME -paramiko.sftp_server.CMD_RENAME -paramiko.sftp_si.CMD_RENAME" class="py-name" href="#" onclick="return doclink('link-27', 'CMD_RENAME', 'link-27');">CMD_RENAME</a></tt><tt class="py-op">,</tt> <tt id="link-28" class="py-name" targets="Variable paramiko.sftp.CMD_READLINK=paramiko.sftp-module.html#CMD_READLINK,Variable paramiko.sftp_attr.CMD_READLINK=paramiko.sftp_attr-module.html#CMD_READLINK,Variable paramiko.sftp_client.CMD_READLINK=paramiko.sftp_client-module.html#CMD_READLINK,Variable paramiko.sftp_file.CMD_READLINK=paramiko.sftp_file-module.html#CMD_READLINK,Variable paramiko.sftp_handle.CMD_READLINK=paramiko.sftp_handle-module.html#CMD_READLINK,Variable paramiko.sftp_server.CMD_READLINK=paramiko.sftp_server-module.html#CMD_READLINK,Variable paramiko.sftp_si.CMD_READLINK=paramiko.sftp_si-module.html#CMD_READLINK"><a title="paramiko.sftp.CMD_READLINK -paramiko.sftp_attr.CMD_READLINK -paramiko.sftp_client.CMD_READLINK -paramiko.sftp_file.CMD_READLINK -paramiko.sftp_handle.CMD_READLINK -paramiko.sftp_server.CMD_READLINK -paramiko.sftp_si.CMD_READLINK" class="py-name" href="#" onclick="return doclink('link-28', 'CMD_READLINK', 'link-28');">CMD_READLINK</a></tt><tt class="py-op">,</tt> <tt id="link-29" class="py-name" targets="Variable paramiko.sftp.CMD_SYMLINK=paramiko.sftp-module.html#CMD_SYMLINK,Variable paramiko.sftp_attr.CMD_SYMLINK=paramiko.sftp_attr-module.html#CMD_SYMLINK,Variable paramiko.sftp_client.CMD_SYMLINK=paramiko.sftp_client-module.html#CMD_SYMLINK,Variable paramiko.sftp_file.CMD_SYMLINK=paramiko.sftp_file-module.html#CMD_SYMLINK,Variable paramiko.sftp_handle.CMD_SYMLINK=paramiko.sftp_handle-module.html#CMD_SYMLINK,Variable paramiko.sftp_server.CMD_SYMLINK=paramiko.sftp_server-module.html#CMD_SYMLINK,Variable paramiko.sftp_si.CMD_SYMLINK=paramiko.sftp_si-module.html#CMD_SYMLINK"><a title="paramiko.sftp.CMD_SYMLINK -paramiko.sftp_attr.CMD_SYMLINK -paramiko.sftp_client.CMD_SYMLINK -paramiko.sftp_file.CMD_SYMLINK -paramiko.sftp_handle.CMD_SYMLINK -paramiko.sftp_server.CMD_SYMLINK -paramiko.sftp_si.CMD_SYMLINK" class="py-name" href="#" onclick="return doclink('link-29', 'CMD_SYMLINK', 'link-29');">CMD_SYMLINK</a></tt> \ </tt> -<a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-op">=</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-number">21</tt><tt class="py-op">)</tt> </tt> -<a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt id="link-30" class="py-name" targets="Variable paramiko.sftp.CMD_STATUS=paramiko.sftp-module.html#CMD_STATUS,Variable paramiko.sftp_attr.CMD_STATUS=paramiko.sftp_attr-module.html#CMD_STATUS,Variable paramiko.sftp_client.CMD_STATUS=paramiko.sftp_client-module.html#CMD_STATUS,Variable paramiko.sftp_file.CMD_STATUS=paramiko.sftp_file-module.html#CMD_STATUS,Variable paramiko.sftp_handle.CMD_STATUS=paramiko.sftp_handle-module.html#CMD_STATUS,Variable paramiko.sftp_server.CMD_STATUS=paramiko.sftp_server-module.html#CMD_STATUS,Variable paramiko.sftp_si.CMD_STATUS=paramiko.sftp_si-module.html#CMD_STATUS"><a title="paramiko.sftp.CMD_STATUS -paramiko.sftp_attr.CMD_STATUS -paramiko.sftp_client.CMD_STATUS -paramiko.sftp_file.CMD_STATUS -paramiko.sftp_handle.CMD_STATUS -paramiko.sftp_server.CMD_STATUS -paramiko.sftp_si.CMD_STATUS" class="py-name" href="#" onclick="return doclink('link-30', 'CMD_STATUS', 'link-30');">CMD_STATUS</a></tt><tt class="py-op">,</tt> <tt id="link-31" class="py-name" targets="Variable paramiko.sftp.CMD_HANDLE=paramiko.sftp-module.html#CMD_HANDLE,Variable paramiko.sftp_attr.CMD_HANDLE=paramiko.sftp_attr-module.html#CMD_HANDLE,Variable paramiko.sftp_client.CMD_HANDLE=paramiko.sftp_client-module.html#CMD_HANDLE,Variable paramiko.sftp_file.CMD_HANDLE=paramiko.sftp_file-module.html#CMD_HANDLE,Variable paramiko.sftp_handle.CMD_HANDLE=paramiko.sftp_handle-module.html#CMD_HANDLE,Variable paramiko.sftp_server.CMD_HANDLE=paramiko.sftp_server-module.html#CMD_HANDLE,Variable paramiko.sftp_si.CMD_HANDLE=paramiko.sftp_si-module.html#CMD_HANDLE"><a title="paramiko.sftp.CMD_HANDLE -paramiko.sftp_attr.CMD_HANDLE -paramiko.sftp_client.CMD_HANDLE -paramiko.sftp_file.CMD_HANDLE -paramiko.sftp_handle.CMD_HANDLE -paramiko.sftp_server.CMD_HANDLE -paramiko.sftp_si.CMD_HANDLE" class="py-name" href="#" onclick="return doclink('link-31', 'CMD_HANDLE', 'link-31');">CMD_HANDLE</a></tt><tt class="py-op">,</tt> <tt id="link-32" class="py-name" targets="Variable paramiko.sftp.CMD_DATA=paramiko.sftp-module.html#CMD_DATA,Variable paramiko.sftp_attr.CMD_DATA=paramiko.sftp_attr-module.html#CMD_DATA,Variable paramiko.sftp_client.CMD_DATA=paramiko.sftp_client-module.html#CMD_DATA,Variable paramiko.sftp_file.CMD_DATA=paramiko.sftp_file-module.html#CMD_DATA,Variable paramiko.sftp_handle.CMD_DATA=paramiko.sftp_handle-module.html#CMD_DATA,Variable paramiko.sftp_server.CMD_DATA=paramiko.sftp_server-module.html#CMD_DATA,Variable paramiko.sftp_si.CMD_DATA=paramiko.sftp_si-module.html#CMD_DATA"><a title="paramiko.sftp.CMD_DATA -paramiko.sftp_attr.CMD_DATA -paramiko.sftp_client.CMD_DATA -paramiko.sftp_file.CMD_DATA -paramiko.sftp_handle.CMD_DATA -paramiko.sftp_server.CMD_DATA -paramiko.sftp_si.CMD_DATA" class="py-name" href="#" onclick="return doclink('link-32', 'CMD_DATA', 'link-32');">CMD_DATA</a></tt><tt class="py-op">,</tt> <tt id="link-33" class="py-name" targets="Variable paramiko.sftp.CMD_NAME=paramiko.sftp-module.html#CMD_NAME,Variable paramiko.sftp_attr.CMD_NAME=paramiko.sftp_attr-module.html#CMD_NAME,Variable paramiko.sftp_client.CMD_NAME=paramiko.sftp_client-module.html#CMD_NAME,Variable paramiko.sftp_file.CMD_NAME=paramiko.sftp_file-module.html#CMD_NAME,Variable paramiko.sftp_handle.CMD_NAME=paramiko.sftp_handle-module.html#CMD_NAME,Variable paramiko.sftp_server.CMD_NAME=paramiko.sftp_server-module.html#CMD_NAME,Variable paramiko.sftp_si.CMD_NAME=paramiko.sftp_si-module.html#CMD_NAME"><a title="paramiko.sftp.CMD_NAME -paramiko.sftp_attr.CMD_NAME -paramiko.sftp_client.CMD_NAME -paramiko.sftp_file.CMD_NAME -paramiko.sftp_handle.CMD_NAME -paramiko.sftp_server.CMD_NAME -paramiko.sftp_si.CMD_NAME" class="py-name" href="#" onclick="return doclink('link-33', 'CMD_NAME', 'link-33');">CMD_NAME</a></tt><tt class="py-op">,</tt> <tt id="link-34" class="py-name" targets="Variable paramiko.sftp.CMD_ATTRS=paramiko.sftp-module.html#CMD_ATTRS,Variable paramiko.sftp_attr.CMD_ATTRS=paramiko.sftp_attr-module.html#CMD_ATTRS,Variable paramiko.sftp_client.CMD_ATTRS=paramiko.sftp_client-module.html#CMD_ATTRS,Variable paramiko.sftp_file.CMD_ATTRS=paramiko.sftp_file-module.html#CMD_ATTRS,Variable paramiko.sftp_handle.CMD_ATTRS=paramiko.sftp_handle-module.html#CMD_ATTRS,Variable paramiko.sftp_server.CMD_ATTRS=paramiko.sftp_server-module.html#CMD_ATTRS,Variable paramiko.sftp_si.CMD_ATTRS=paramiko.sftp_si-module.html#CMD_ATTRS"><a title="paramiko.sftp.CMD_ATTRS -paramiko.sftp_attr.CMD_ATTRS -paramiko.sftp_client.CMD_ATTRS -paramiko.sftp_file.CMD_ATTRS -paramiko.sftp_handle.CMD_ATTRS -paramiko.sftp_server.CMD_ATTRS -paramiko.sftp_si.CMD_ATTRS" class="py-name" href="#" onclick="return doclink('link-34', 'CMD_ATTRS', 'link-34');">CMD_ATTRS</a></tt> <tt class="py-op">=</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">101</tt><tt class="py-op">,</tt> <tt class="py-number">106</tt><tt class="py-op">)</tt> </tt> -<a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt id="link-35" class="py-name" targets="Variable paramiko.sftp.CMD_EXTENDED=paramiko.sftp-module.html#CMD_EXTENDED,Variable paramiko.sftp_attr.CMD_EXTENDED=paramiko.sftp_attr-module.html#CMD_EXTENDED,Variable paramiko.sftp_client.CMD_EXTENDED=paramiko.sftp_client-module.html#CMD_EXTENDED,Variable paramiko.sftp_file.CMD_EXTENDED=paramiko.sftp_file-module.html#CMD_EXTENDED,Variable paramiko.sftp_handle.CMD_EXTENDED=paramiko.sftp_handle-module.html#CMD_EXTENDED,Variable paramiko.sftp_server.CMD_EXTENDED=paramiko.sftp_server-module.html#CMD_EXTENDED,Variable paramiko.sftp_si.CMD_EXTENDED=paramiko.sftp_si-module.html#CMD_EXTENDED"><a title="paramiko.sftp.CMD_EXTENDED -paramiko.sftp_attr.CMD_EXTENDED -paramiko.sftp_client.CMD_EXTENDED -paramiko.sftp_file.CMD_EXTENDED -paramiko.sftp_handle.CMD_EXTENDED -paramiko.sftp_server.CMD_EXTENDED -paramiko.sftp_si.CMD_EXTENDED" class="py-name" href="#" onclick="return doclink('link-35', 'CMD_EXTENDED', 'link-35');">CMD_EXTENDED</a></tt><tt class="py-op">,</tt> <tt id="link-36" class="py-name" targets="Variable paramiko.sftp.CMD_EXTENDED_REPLY=paramiko.sftp-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_attr.CMD_EXTENDED_REPLY=paramiko.sftp_attr-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_client.CMD_EXTENDED_REPLY=paramiko.sftp_client-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_file.CMD_EXTENDED_REPLY=paramiko.sftp_file-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_handle.CMD_EXTENDED_REPLY=paramiko.sftp_handle-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_server.CMD_EXTENDED_REPLY=paramiko.sftp_server-module.html#CMD_EXTENDED_REPLY,Variable paramiko.sftp_si.CMD_EXTENDED_REPLY=paramiko.sftp_si-module.html#CMD_EXTENDED_REPLY"><a title="paramiko.sftp.CMD_EXTENDED_REPLY -paramiko.sftp_attr.CMD_EXTENDED_REPLY -paramiko.sftp_client.CMD_EXTENDED_REPLY -paramiko.sftp_file.CMD_EXTENDED_REPLY -paramiko.sftp_handle.CMD_EXTENDED_REPLY -paramiko.sftp_server.CMD_EXTENDED_REPLY -paramiko.sftp_si.CMD_EXTENDED_REPLY" class="py-name" href="#" onclick="return doclink('link-36', 'CMD_EXTENDED_REPLY', 'link-36');">CMD_EXTENDED_REPLY</a></tt> <tt class="py-op">=</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">200</tt><tt class="py-op">,</tt> <tt class="py-number">202</tt><tt class="py-op">)</tt> </tt> -<a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> </tt> -<a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"><tt id="link-37" class="py-name" targets="Variable paramiko.sftp.SFTP_OK=paramiko.sftp-module.html#SFTP_OK,Variable paramiko.sftp_attr.SFTP_OK=paramiko.sftp_attr-module.html#SFTP_OK,Variable paramiko.sftp_client.SFTP_OK=paramiko.sftp_client-module.html#SFTP_OK,Variable paramiko.sftp_file.SFTP_OK=paramiko.sftp_file-module.html#SFTP_OK,Variable paramiko.sftp_handle.SFTP_OK=paramiko.sftp_handle-module.html#SFTP_OK,Variable paramiko.sftp_server.SFTP_OK=paramiko.sftp_server-module.html#SFTP_OK,Variable paramiko.sftp_si.SFTP_OK=paramiko.sftp_si-module.html#SFTP_OK"><a title="paramiko.sftp.SFTP_OK -paramiko.sftp_attr.SFTP_OK -paramiko.sftp_client.SFTP_OK -paramiko.sftp_file.SFTP_OK -paramiko.sftp_handle.SFTP_OK -paramiko.sftp_server.SFTP_OK -paramiko.sftp_si.SFTP_OK" class="py-name" href="#" onclick="return doclink('link-37', 'SFTP_OK', 'link-37');">SFTP_OK</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt> -<a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt id="link-38" class="py-name" targets="Variable paramiko.sftp.SFTP_EOF=paramiko.sftp-module.html#SFTP_EOF,Variable paramiko.sftp_attr.SFTP_EOF=paramiko.sftp_attr-module.html#SFTP_EOF,Variable paramiko.sftp_client.SFTP_EOF=paramiko.sftp_client-module.html#SFTP_EOF,Variable paramiko.sftp_file.SFTP_EOF=paramiko.sftp_file-module.html#SFTP_EOF,Variable paramiko.sftp_handle.SFTP_EOF=paramiko.sftp_handle-module.html#SFTP_EOF,Variable paramiko.sftp_server.SFTP_EOF=paramiko.sftp_server-module.html#SFTP_EOF,Variable paramiko.sftp_si.SFTP_EOF=paramiko.sftp_si-module.html#SFTP_EOF"><a title="paramiko.sftp.SFTP_EOF -paramiko.sftp_attr.SFTP_EOF -paramiko.sftp_client.SFTP_EOF -paramiko.sftp_file.SFTP_EOF -paramiko.sftp_handle.SFTP_EOF -paramiko.sftp_server.SFTP_EOF -paramiko.sftp_si.SFTP_EOF" class="py-name" href="#" onclick="return doclink('link-38', 'SFTP_EOF', 'link-38');">SFTP_EOF</a></tt><tt class="py-op">,</tt> <tt id="link-39" class="py-name" targets="Variable paramiko.sftp.SFTP_NO_SUCH_FILE=paramiko.sftp-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_attr.SFTP_NO_SUCH_FILE=paramiko.sftp_attr-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_client.SFTP_NO_SUCH_FILE=paramiko.sftp_client-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_file.SFTP_NO_SUCH_FILE=paramiko.sftp_file-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_handle.SFTP_NO_SUCH_FILE=paramiko.sftp_handle-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_server.SFTP_NO_SUCH_FILE=paramiko.sftp_server-module.html#SFTP_NO_SUCH_FILE,Variable paramiko.sftp_si.SFTP_NO_SUCH_FILE=paramiko.sftp_si-module.html#SFTP_NO_SUCH_FILE"><a title="paramiko.sftp.SFTP_NO_SUCH_FILE -paramiko.sftp_attr.SFTP_NO_SUCH_FILE -paramiko.sftp_client.SFTP_NO_SUCH_FILE -paramiko.sftp_file.SFTP_NO_SUCH_FILE -paramiko.sftp_handle.SFTP_NO_SUCH_FILE -paramiko.sftp_server.SFTP_NO_SUCH_FILE -paramiko.sftp_si.SFTP_NO_SUCH_FILE" class="py-name" href="#" onclick="return doclink('link-39', 'SFTP_NO_SUCH_FILE', 'link-39');">SFTP_NO_SUCH_FILE</a></tt><tt class="py-op">,</tt> <tt id="link-40" class="py-name" targets="Variable paramiko.sftp.SFTP_PERMISSION_DENIED=paramiko.sftp-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_attr.SFTP_PERMISSION_DENIED=paramiko.sftp_attr-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_client.SFTP_PERMISSION_DENIED=paramiko.sftp_client-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_file.SFTP_PERMISSION_DENIED=paramiko.sftp_file-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_handle.SFTP_PERMISSION_DENIED=paramiko.sftp_handle-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_server.SFTP_PERMISSION_DENIED=paramiko.sftp_server-module.html#SFTP_PERMISSION_DENIED,Variable paramiko.sftp_si.SFTP_PERMISSION_DENIED=paramiko.sftp_si-module.html#SFTP_PERMISSION_DENIED"><a title="paramiko.sftp.SFTP_PERMISSION_DENIED -paramiko.sftp_attr.SFTP_PERMISSION_DENIED -paramiko.sftp_client.SFTP_PERMISSION_DENIED -paramiko.sftp_file.SFTP_PERMISSION_DENIED -paramiko.sftp_handle.SFTP_PERMISSION_DENIED -paramiko.sftp_server.SFTP_PERMISSION_DENIED -paramiko.sftp_si.SFTP_PERMISSION_DENIED" class="py-name" href="#" onclick="return doclink('link-40', 'SFTP_PERMISSION_DENIED', 'link-40');">SFTP_PERMISSION_DENIED</a></tt><tt class="py-op">,</tt> <tt id="link-41" class="py-name" targets="Variable paramiko.sftp.SFTP_FAILURE=paramiko.sftp-module.html#SFTP_FAILURE,Variable paramiko.sftp_attr.SFTP_FAILURE=paramiko.sftp_attr-module.html#SFTP_FAILURE,Variable paramiko.sftp_client.SFTP_FAILURE=paramiko.sftp_client-module.html#SFTP_FAILURE,Variable paramiko.sftp_file.SFTP_FAILURE=paramiko.sftp_file-module.html#SFTP_FAILURE,Variable paramiko.sftp_handle.SFTP_FAILURE=paramiko.sftp_handle-module.html#SFTP_FAILURE,Variable paramiko.sftp_server.SFTP_FAILURE=paramiko.sftp_server-module.html#SFTP_FAILURE,Variable paramiko.sftp_si.SFTP_FAILURE=paramiko.sftp_si-module.html#SFTP_FAILURE"><a title="paramiko.sftp.SFTP_FAILURE -paramiko.sftp_attr.SFTP_FAILURE -paramiko.sftp_client.SFTP_FAILURE -paramiko.sftp_file.SFTP_FAILURE -paramiko.sftp_handle.SFTP_FAILURE -paramiko.sftp_server.SFTP_FAILURE -paramiko.sftp_si.SFTP_FAILURE" class="py-name" href="#" onclick="return doclink('link-41', 'SFTP_FAILURE', 'link-41');">SFTP_FAILURE</a></tt><tt class="py-op">,</tt> <tt id="link-42" class="py-name" targets="Variable paramiko.sftp.SFTP_BAD_MESSAGE=paramiko.sftp-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_attr.SFTP_BAD_MESSAGE=paramiko.sftp_attr-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_client.SFTP_BAD_MESSAGE=paramiko.sftp_client-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_file.SFTP_BAD_MESSAGE=paramiko.sftp_file-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_handle.SFTP_BAD_MESSAGE=paramiko.sftp_handle-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_server.SFTP_BAD_MESSAGE=paramiko.sftp_server-module.html#SFTP_BAD_MESSAGE,Variable paramiko.sftp_si.SFTP_BAD_MESSAGE=paramiko.sftp_si-module.html#SFTP_BAD_MESSAGE"><a title="paramiko.sftp.SFTP_BAD_MESSAGE -paramiko.sftp_attr.SFTP_BAD_MESSAGE -paramiko.sftp_client.SFTP_BAD_MESSAGE -paramiko.sftp_file.SFTP_BAD_MESSAGE -paramiko.sftp_handle.SFTP_BAD_MESSAGE -paramiko.sftp_server.SFTP_BAD_MESSAGE -paramiko.sftp_si.SFTP_BAD_MESSAGE" class="py-name" href="#" onclick="return doclink('link-42', 'SFTP_BAD_MESSAGE', 'link-42');">SFTP_BAD_MESSAGE</a></tt><tt class="py-op">,</tt> \ </tt> -<a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> <tt id="link-43" class="py-name" targets="Variable paramiko.sftp.SFTP_NO_CONNECTION=paramiko.sftp-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_attr.SFTP_NO_CONNECTION=paramiko.sftp_attr-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_client.SFTP_NO_CONNECTION=paramiko.sftp_client-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_file.SFTP_NO_CONNECTION=paramiko.sftp_file-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_handle.SFTP_NO_CONNECTION=paramiko.sftp_handle-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_server.SFTP_NO_CONNECTION=paramiko.sftp_server-module.html#SFTP_NO_CONNECTION,Variable paramiko.sftp_si.SFTP_NO_CONNECTION=paramiko.sftp_si-module.html#SFTP_NO_CONNECTION"><a title="paramiko.sftp.SFTP_NO_CONNECTION -paramiko.sftp_attr.SFTP_NO_CONNECTION -paramiko.sftp_client.SFTP_NO_CONNECTION -paramiko.sftp_file.SFTP_NO_CONNECTION -paramiko.sftp_handle.SFTP_NO_CONNECTION -paramiko.sftp_server.SFTP_NO_CONNECTION -paramiko.sftp_si.SFTP_NO_CONNECTION" class="py-name" href="#" onclick="return doclink('link-43', 'SFTP_NO_CONNECTION', 'link-43');">SFTP_NO_CONNECTION</a></tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name" targets="Variable paramiko.sftp.SFTP_CONNECTION_LOST=paramiko.sftp-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_attr.SFTP_CONNECTION_LOST=paramiko.sftp_attr-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_client.SFTP_CONNECTION_LOST=paramiko.sftp_client-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_file.SFTP_CONNECTION_LOST=paramiko.sftp_file-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_handle.SFTP_CONNECTION_LOST=paramiko.sftp_handle-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_server.SFTP_CONNECTION_LOST=paramiko.sftp_server-module.html#SFTP_CONNECTION_LOST,Variable paramiko.sftp_si.SFTP_CONNECTION_LOST=paramiko.sftp_si-module.html#SFTP_CONNECTION_LOST"><a title="paramiko.sftp.SFTP_CONNECTION_LOST -paramiko.sftp_attr.SFTP_CONNECTION_LOST -paramiko.sftp_client.SFTP_CONNECTION_LOST -paramiko.sftp_file.SFTP_CONNECTION_LOST -paramiko.sftp_handle.SFTP_CONNECTION_LOST -paramiko.sftp_server.SFTP_CONNECTION_LOST -paramiko.sftp_si.SFTP_CONNECTION_LOST" class="py-name" href="#" onclick="return doclink('link-44', 'SFTP_CONNECTION_LOST', 'link-44');">SFTP_CONNECTION_LOST</a></tt><tt class="py-op">,</tt> <tt id="link-45" class="py-name" targets="Variable paramiko.sftp.SFTP_OP_UNSUPPORTED=paramiko.sftp-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_attr.SFTP_OP_UNSUPPORTED=paramiko.sftp_attr-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_client.SFTP_OP_UNSUPPORTED=paramiko.sftp_client-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_file.SFTP_OP_UNSUPPORTED=paramiko.sftp_file-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_handle.SFTP_OP_UNSUPPORTED=paramiko.sftp_handle-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_server.SFTP_OP_UNSUPPORTED=paramiko.sftp_server-module.html#SFTP_OP_UNSUPPORTED,Variable paramiko.sftp_si.SFTP_OP_UNSUPPORTED=paramiko.sftp_si-module.html#SFTP_OP_UNSUPPORTED"><a title="paramiko.sftp.SFTP_OP_UNSUPPORTED -paramiko.sftp_attr.SFTP_OP_UNSUPPORTED -paramiko.sftp_client.SFTP_OP_UNSUPPORTED -paramiko.sftp_file.SFTP_OP_UNSUPPORTED -paramiko.sftp_handle.SFTP_OP_UNSUPPORTED -paramiko.sftp_server.SFTP_OP_UNSUPPORTED -paramiko.sftp_si.SFTP_OP_UNSUPPORTED" class="py-name" href="#" onclick="return doclink('link-45', 'SFTP_OP_UNSUPPORTED', 'link-45');">SFTP_OP_UNSUPPORTED</a></tt> <tt class="py-op">=</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-number">9</tt><tt class="py-op">)</tt> </tt> -<a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"> </tt> -<a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable paramiko.sftp.SFTP_DESC=paramiko.sftp-module.html#SFTP_DESC,Variable paramiko.sftp_attr.SFTP_DESC=paramiko.sftp_attr-module.html#SFTP_DESC,Variable paramiko.sftp_client.SFTP_DESC=paramiko.sftp_client-module.html#SFTP_DESC,Variable paramiko.sftp_file.SFTP_DESC=paramiko.sftp_file-module.html#SFTP_DESC,Variable paramiko.sftp_handle.SFTP_DESC=paramiko.sftp_handle-module.html#SFTP_DESC,Variable paramiko.sftp_server.SFTP_DESC=paramiko.sftp_server-module.html#SFTP_DESC,Variable paramiko.sftp_si.SFTP_DESC=paramiko.sftp_si-module.html#SFTP_DESC"><a title="paramiko.sftp.SFTP_DESC -paramiko.sftp_attr.SFTP_DESC -paramiko.sftp_client.SFTP_DESC -paramiko.sftp_file.SFTP_DESC -paramiko.sftp_handle.SFTP_DESC -paramiko.sftp_server.SFTP_DESC -paramiko.sftp_si.SFTP_DESC" class="py-name" href="#" onclick="return doclink('link-46', 'SFTP_DESC', 'link-46');">SFTP_DESC</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">'Success'</tt><tt class="py-op">,</tt> </tt> -<a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-string">'End of file'</tt><tt class="py-op">,</tt> </tt> -<a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-string">'No such file'</tt><tt class="py-op">,</tt> </tt> -<a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt class="py-string">'Permission denied'</tt><tt class="py-op">,</tt> </tt> -<a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-string">'Failure'</tt><tt class="py-op">,</tt> </tt> -<a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-string">'Bad message'</tt><tt class="py-op">,</tt> </tt> -<a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-string">'No connection'</tt><tt class="py-op">,</tt> </tt> -<a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-string">'Connection lost'</tt><tt class="py-op">,</tt> </tt> -<a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-string">'Operation unsupported'</tt> <tt class="py-op">]</tt> </tt> -<a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> </tt> -<a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_READ=paramiko.sftp-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_attr.SFTP_FLAG_READ=paramiko.sftp_attr-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_client.SFTP_FLAG_READ=paramiko.sftp_client-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_file.SFTP_FLAG_READ=paramiko.sftp_file-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_handle.SFTP_FLAG_READ=paramiko.sftp_handle-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_server.SFTP_FLAG_READ=paramiko.sftp_server-module.html#SFTP_FLAG_READ,Variable paramiko.sftp_si.SFTP_FLAG_READ=paramiko.sftp_si-module.html#SFTP_FLAG_READ"><a title="paramiko.sftp.SFTP_FLAG_READ -paramiko.sftp_attr.SFTP_FLAG_READ -paramiko.sftp_client.SFTP_FLAG_READ -paramiko.sftp_file.SFTP_FLAG_READ -paramiko.sftp_handle.SFTP_FLAG_READ -paramiko.sftp_server.SFTP_FLAG_READ -paramiko.sftp_si.SFTP_FLAG_READ" class="py-name" href="#" onclick="return doclink('link-47', 'SFTP_FLAG_READ', 'link-47');">SFTP_FLAG_READ</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x1</tt> </tt> -<a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_WRITE=paramiko.sftp-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_attr.SFTP_FLAG_WRITE=paramiko.sftp_attr-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_client.SFTP_FLAG_WRITE=paramiko.sftp_client-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_file.SFTP_FLAG_WRITE=paramiko.sftp_file-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_handle.SFTP_FLAG_WRITE=paramiko.sftp_handle-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_server.SFTP_FLAG_WRITE=paramiko.sftp_server-module.html#SFTP_FLAG_WRITE,Variable paramiko.sftp_si.SFTP_FLAG_WRITE=paramiko.sftp_si-module.html#SFTP_FLAG_WRITE"><a title="paramiko.sftp.SFTP_FLAG_WRITE -paramiko.sftp_attr.SFTP_FLAG_WRITE -paramiko.sftp_client.SFTP_FLAG_WRITE -paramiko.sftp_file.SFTP_FLAG_WRITE -paramiko.sftp_handle.SFTP_FLAG_WRITE -paramiko.sftp_server.SFTP_FLAG_WRITE -paramiko.sftp_si.SFTP_FLAG_WRITE" class="py-name" href="#" onclick="return doclink('link-48', 'SFTP_FLAG_WRITE', 'link-48');">SFTP_FLAG_WRITE</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x2</tt> </tt> -<a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_APPEND=paramiko.sftp-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_attr.SFTP_FLAG_APPEND=paramiko.sftp_attr-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_client.SFTP_FLAG_APPEND=paramiko.sftp_client-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_file.SFTP_FLAG_APPEND=paramiko.sftp_file-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_handle.SFTP_FLAG_APPEND=paramiko.sftp_handle-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_server.SFTP_FLAG_APPEND=paramiko.sftp_server-module.html#SFTP_FLAG_APPEND,Variable paramiko.sftp_si.SFTP_FLAG_APPEND=paramiko.sftp_si-module.html#SFTP_FLAG_APPEND"><a title="paramiko.sftp.SFTP_FLAG_APPEND -paramiko.sftp_attr.SFTP_FLAG_APPEND -paramiko.sftp_client.SFTP_FLAG_APPEND -paramiko.sftp_file.SFTP_FLAG_APPEND -paramiko.sftp_handle.SFTP_FLAG_APPEND -paramiko.sftp_server.SFTP_FLAG_APPEND -paramiko.sftp_si.SFTP_FLAG_APPEND" class="py-name" href="#" onclick="return doclink('link-49', 'SFTP_FLAG_APPEND', 'link-49');">SFTP_FLAG_APPEND</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x4</tt> </tt> -<a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_CREATE=paramiko.sftp-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_attr.SFTP_FLAG_CREATE=paramiko.sftp_attr-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_client.SFTP_FLAG_CREATE=paramiko.sftp_client-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_file.SFTP_FLAG_CREATE=paramiko.sftp_file-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_handle.SFTP_FLAG_CREATE=paramiko.sftp_handle-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_server.SFTP_FLAG_CREATE=paramiko.sftp_server-module.html#SFTP_FLAG_CREATE,Variable paramiko.sftp_si.SFTP_FLAG_CREATE=paramiko.sftp_si-module.html#SFTP_FLAG_CREATE"><a title="paramiko.sftp.SFTP_FLAG_CREATE -paramiko.sftp_attr.SFTP_FLAG_CREATE -paramiko.sftp_client.SFTP_FLAG_CREATE -paramiko.sftp_file.SFTP_FLAG_CREATE -paramiko.sftp_handle.SFTP_FLAG_CREATE -paramiko.sftp_server.SFTP_FLAG_CREATE -paramiko.sftp_si.SFTP_FLAG_CREATE" class="py-name" href="#" onclick="return doclink('link-50', 'SFTP_FLAG_CREATE', 'link-50');">SFTP_FLAG_CREATE</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x8</tt> </tt> -<a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_TRUNC=paramiko.sftp-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_attr.SFTP_FLAG_TRUNC=paramiko.sftp_attr-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_client.SFTP_FLAG_TRUNC=paramiko.sftp_client-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_file.SFTP_FLAG_TRUNC=paramiko.sftp_file-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_handle.SFTP_FLAG_TRUNC=paramiko.sftp_handle-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_server.SFTP_FLAG_TRUNC=paramiko.sftp_server-module.html#SFTP_FLAG_TRUNC,Variable paramiko.sftp_si.SFTP_FLAG_TRUNC=paramiko.sftp_si-module.html#SFTP_FLAG_TRUNC"><a title="paramiko.sftp.SFTP_FLAG_TRUNC -paramiko.sftp_attr.SFTP_FLAG_TRUNC -paramiko.sftp_client.SFTP_FLAG_TRUNC -paramiko.sftp_file.SFTP_FLAG_TRUNC -paramiko.sftp_handle.SFTP_FLAG_TRUNC -paramiko.sftp_server.SFTP_FLAG_TRUNC -paramiko.sftp_si.SFTP_FLAG_TRUNC" class="py-name" href="#" onclick="return doclink('link-51', 'SFTP_FLAG_TRUNC', 'link-51');">SFTP_FLAG_TRUNC</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x10</tt> </tt> -<a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"><tt id="link-52" class="py-name" targets="Variable paramiko.sftp.SFTP_FLAG_EXCL=paramiko.sftp-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_attr.SFTP_FLAG_EXCL=paramiko.sftp_attr-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_client.SFTP_FLAG_EXCL=paramiko.sftp_client-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_file.SFTP_FLAG_EXCL=paramiko.sftp_file-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_handle.SFTP_FLAG_EXCL=paramiko.sftp_handle-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_server.SFTP_FLAG_EXCL=paramiko.sftp_server-module.html#SFTP_FLAG_EXCL,Variable paramiko.sftp_si.SFTP_FLAG_EXCL=paramiko.sftp_si-module.html#SFTP_FLAG_EXCL"><a title="paramiko.sftp.SFTP_FLAG_EXCL -paramiko.sftp_attr.SFTP_FLAG_EXCL -paramiko.sftp_client.SFTP_FLAG_EXCL -paramiko.sftp_file.SFTP_FLAG_EXCL -paramiko.sftp_handle.SFTP_FLAG_EXCL -paramiko.sftp_server.SFTP_FLAG_EXCL -paramiko.sftp_si.SFTP_FLAG_EXCL" class="py-name" href="#" onclick="return doclink('link-52', 'SFTP_FLAG_EXCL', 'link-52');">SFTP_FLAG_EXCL</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0x20</tt> </tt> -<a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> </tt> -<a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"><tt id="link-53" class="py-name" targets="Variable paramiko.sftp._VERSION=paramiko.sftp-module.html#_VERSION"><a title="paramiko.sftp._VERSION" class="py-name" href="#" onclick="return doclink('link-53', '_VERSION', 'link-53');">_VERSION</a></tt> <tt class="py-op">=</tt> <tt class="py-number">3</tt> </tt> -<a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> </tt> -<a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> </tt> -<a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"><tt class="py-comment"># for debugging</tt> </tt> -<a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"><tt id="link-54" class="py-name" targets="Variable paramiko.sftp.CMD_NAMES=paramiko.sftp-module.html#CMD_NAMES,Variable paramiko.sftp_attr.CMD_NAMES=paramiko.sftp_attr-module.html#CMD_NAMES,Variable paramiko.sftp_client.CMD_NAMES=paramiko.sftp_client-module.html#CMD_NAMES,Variable paramiko.sftp_file.CMD_NAMES=paramiko.sftp_file-module.html#CMD_NAMES,Variable paramiko.sftp_handle.CMD_NAMES=paramiko.sftp_handle-module.html#CMD_NAMES,Variable paramiko.sftp_server.CMD_NAMES=paramiko.sftp_server-module.html#CMD_NAMES,Variable paramiko.sftp_si.CMD_NAMES=paramiko.sftp_si-module.html#CMD_NAMES"><a title="paramiko.sftp.CMD_NAMES -paramiko.sftp_attr.CMD_NAMES -paramiko.sftp_client.CMD_NAMES -paramiko.sftp_file.CMD_NAMES -paramiko.sftp_handle.CMD_NAMES -paramiko.sftp_server.CMD_NAMES -paramiko.sftp_si.CMD_NAMES" class="py-name" href="#" onclick="return doclink('link-54', 'CMD_NAMES', 'link-54');">CMD_NAMES</a></tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt> </tt> -<a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt id="link-55" class="py-name"><a title="paramiko.sftp.CMD_INIT -paramiko.sftp_attr.CMD_INIT -paramiko.sftp_client.CMD_INIT -paramiko.sftp_file.CMD_INIT -paramiko.sftp_handle.CMD_INIT -paramiko.sftp_server.CMD_INIT -paramiko.sftp_si.CMD_INIT" class="py-name" href="#" onclick="return doclink('link-55', 'CMD_INIT', 'link-10');">CMD_INIT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'init'</tt><tt class="py-op">,</tt> </tt> -<a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt id="link-56" class="py-name"><a title="paramiko.sftp.CMD_VERSION -paramiko.sftp_attr.CMD_VERSION -paramiko.sftp_client.CMD_VERSION -paramiko.sftp_file.CMD_VERSION -paramiko.sftp_handle.CMD_VERSION -paramiko.sftp_server.CMD_VERSION -paramiko.sftp_si.CMD_VERSION" class="py-name" href="#" onclick="return doclink('link-56', 'CMD_VERSION', 'link-11');">CMD_VERSION</a></tt><tt class="py-op">:</tt> <tt class="py-string">'version'</tt><tt class="py-op">,</tt> </tt> -<a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt id="link-57" class="py-name"><a title="paramiko.sftp.CMD_OPEN -paramiko.sftp_attr.CMD_OPEN -paramiko.sftp_client.CMD_OPEN -paramiko.sftp_file.CMD_OPEN -paramiko.sftp_handle.CMD_OPEN -paramiko.sftp_server.CMD_OPEN -paramiko.sftp_si.CMD_OPEN" class="py-name" href="#" onclick="return doclink('link-57', 'CMD_OPEN', 'link-12');">CMD_OPEN</a></tt><tt class="py-op">:</tt> <tt class="py-string">'open'</tt><tt class="py-op">,</tt> </tt> -<a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt id="link-58" class="py-name"><a title="paramiko.sftp.CMD_CLOSE -paramiko.sftp_attr.CMD_CLOSE -paramiko.sftp_client.CMD_CLOSE -paramiko.sftp_file.CMD_CLOSE -paramiko.sftp_handle.CMD_CLOSE -paramiko.sftp_server.CMD_CLOSE -paramiko.sftp_si.CMD_CLOSE" class="py-name" href="#" onclick="return doclink('link-58', 'CMD_CLOSE', 'link-13');">CMD_CLOSE</a></tt><tt class="py-op">:</tt> <tt class="py-string">'close'</tt><tt class="py-op">,</tt> </tt> -<a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt id="link-59" class="py-name"><a title="paramiko.sftp.CMD_READ -paramiko.sftp_attr.CMD_READ -paramiko.sftp_client.CMD_READ -paramiko.sftp_file.CMD_READ -paramiko.sftp_handle.CMD_READ -paramiko.sftp_server.CMD_READ -paramiko.sftp_si.CMD_READ" class="py-name" href="#" onclick="return doclink('link-59', 'CMD_READ', 'link-14');">CMD_READ</a></tt><tt class="py-op">:</tt> <tt class="py-string">'read'</tt><tt class="py-op">,</tt> </tt> -<a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt id="link-60" class="py-name"><a title="paramiko.sftp.CMD_WRITE -paramiko.sftp_attr.CMD_WRITE -paramiko.sftp_client.CMD_WRITE -paramiko.sftp_file.CMD_WRITE -paramiko.sftp_handle.CMD_WRITE -paramiko.sftp_server.CMD_WRITE -paramiko.sftp_si.CMD_WRITE" class="py-name" href="#" onclick="return doclink('link-60', 'CMD_WRITE', 'link-15');">CMD_WRITE</a></tt><tt class="py-op">:</tt> <tt class="py-string">'write'</tt><tt class="py-op">,</tt> </tt> -<a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt id="link-61" class="py-name"><a title="paramiko.sftp.CMD_LSTAT -paramiko.sftp_attr.CMD_LSTAT -paramiko.sftp_client.CMD_LSTAT -paramiko.sftp_file.CMD_LSTAT -paramiko.sftp_handle.CMD_LSTAT -paramiko.sftp_server.CMD_LSTAT -paramiko.sftp_si.CMD_LSTAT" class="py-name" href="#" onclick="return doclink('link-61', 'CMD_LSTAT', 'link-16');">CMD_LSTAT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'lstat'</tt><tt class="py-op">,</tt> </tt> -<a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="paramiko.sftp.CMD_FSTAT -paramiko.sftp_attr.CMD_FSTAT -paramiko.sftp_client.CMD_FSTAT -paramiko.sftp_file.CMD_FSTAT -paramiko.sftp_handle.CMD_FSTAT -paramiko.sftp_server.CMD_FSTAT -paramiko.sftp_si.CMD_FSTAT" class="py-name" href="#" onclick="return doclink('link-62', 'CMD_FSTAT', 'link-17');">CMD_FSTAT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'fstat'</tt><tt class="py-op">,</tt> </tt> -<a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt id="link-63" class="py-name"><a title="paramiko.sftp.CMD_SETSTAT -paramiko.sftp_attr.CMD_SETSTAT -paramiko.sftp_client.CMD_SETSTAT -paramiko.sftp_file.CMD_SETSTAT -paramiko.sftp_handle.CMD_SETSTAT -paramiko.sftp_server.CMD_SETSTAT -paramiko.sftp_si.CMD_SETSTAT" class="py-name" href="#" onclick="return doclink('link-63', 'CMD_SETSTAT', 'link-18');">CMD_SETSTAT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'setstat'</tt><tt class="py-op">,</tt> </tt> -<a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt id="link-64" class="py-name"><a title="paramiko.sftp.CMD_FSETSTAT -paramiko.sftp_attr.CMD_FSETSTAT -paramiko.sftp_client.CMD_FSETSTAT -paramiko.sftp_file.CMD_FSETSTAT -paramiko.sftp_handle.CMD_FSETSTAT -paramiko.sftp_server.CMD_FSETSTAT -paramiko.sftp_si.CMD_FSETSTAT" class="py-name" href="#" onclick="return doclink('link-64', 'CMD_FSETSTAT', 'link-19');">CMD_FSETSTAT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'fsetstat'</tt><tt class="py-op">,</tt> </tt> -<a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt id="link-65" class="py-name"><a title="paramiko.sftp.CMD_OPENDIR -paramiko.sftp_attr.CMD_OPENDIR -paramiko.sftp_client.CMD_OPENDIR -paramiko.sftp_file.CMD_OPENDIR -paramiko.sftp_handle.CMD_OPENDIR -paramiko.sftp_server.CMD_OPENDIR -paramiko.sftp_si.CMD_OPENDIR" class="py-name" href="#" onclick="return doclink('link-65', 'CMD_OPENDIR', 'link-20');">CMD_OPENDIR</a></tt><tt class="py-op">:</tt> <tt class="py-string">'opendir'</tt><tt class="py-op">,</tt> </tt> -<a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt id="link-66" class="py-name"><a title="paramiko.sftp.CMD_READDIR -paramiko.sftp_attr.CMD_READDIR -paramiko.sftp_client.CMD_READDIR -paramiko.sftp_file.CMD_READDIR -paramiko.sftp_handle.CMD_READDIR -paramiko.sftp_server.CMD_READDIR -paramiko.sftp_si.CMD_READDIR" class="py-name" href="#" onclick="return doclink('link-66', 'CMD_READDIR', 'link-21');">CMD_READDIR</a></tt><tt class="py-op">:</tt> <tt class="py-string">'readdir'</tt><tt class="py-op">,</tt> </tt> -<a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt id="link-67" class="py-name"><a title="paramiko.sftp.CMD_REMOVE -paramiko.sftp_attr.CMD_REMOVE -paramiko.sftp_client.CMD_REMOVE -paramiko.sftp_file.CMD_REMOVE -paramiko.sftp_handle.CMD_REMOVE -paramiko.sftp_server.CMD_REMOVE -paramiko.sftp_si.CMD_REMOVE" class="py-name" href="#" onclick="return doclink('link-67', 'CMD_REMOVE', 'link-22');">CMD_REMOVE</a></tt><tt class="py-op">:</tt> <tt class="py-string">'remove'</tt><tt class="py-op">,</tt> </tt> -<a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt id="link-68" class="py-name"><a title="paramiko.sftp.CMD_MKDIR -paramiko.sftp_attr.CMD_MKDIR -paramiko.sftp_client.CMD_MKDIR -paramiko.sftp_file.CMD_MKDIR -paramiko.sftp_handle.CMD_MKDIR -paramiko.sftp_server.CMD_MKDIR -paramiko.sftp_si.CMD_MKDIR" class="py-name" href="#" onclick="return doclink('link-68', 'CMD_MKDIR', 'link-23');">CMD_MKDIR</a></tt><tt class="py-op">:</tt> <tt class="py-string">'mkdir'</tt><tt class="py-op">,</tt> </tt> -<a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt id="link-69" class="py-name"><a title="paramiko.sftp.CMD_RMDIR -paramiko.sftp_attr.CMD_RMDIR -paramiko.sftp_client.CMD_RMDIR -paramiko.sftp_file.CMD_RMDIR -paramiko.sftp_handle.CMD_RMDIR -paramiko.sftp_server.CMD_RMDIR -paramiko.sftp_si.CMD_RMDIR" class="py-name" href="#" onclick="return doclink('link-69', 'CMD_RMDIR', 'link-24');">CMD_RMDIR</a></tt><tt class="py-op">:</tt> <tt class="py-string">'rmdir'</tt><tt class="py-op">,</tt> </tt> -<a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="paramiko.sftp.CMD_REALPATH -paramiko.sftp_attr.CMD_REALPATH -paramiko.sftp_client.CMD_REALPATH -paramiko.sftp_file.CMD_REALPATH -paramiko.sftp_handle.CMD_REALPATH -paramiko.sftp_server.CMD_REALPATH -paramiko.sftp_si.CMD_REALPATH" class="py-name" href="#" onclick="return doclink('link-70', 'CMD_REALPATH', 'link-25');">CMD_REALPATH</a></tt><tt class="py-op">:</tt> <tt class="py-string">'realpath'</tt><tt class="py-op">,</tt> </tt> -<a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt id="link-71" class="py-name"><a title="paramiko.sftp.CMD_STAT -paramiko.sftp_attr.CMD_STAT -paramiko.sftp_client.CMD_STAT -paramiko.sftp_file.CMD_STAT -paramiko.sftp_handle.CMD_STAT -paramiko.sftp_server.CMD_STAT -paramiko.sftp_si.CMD_STAT" class="py-name" href="#" onclick="return doclink('link-71', 'CMD_STAT', 'link-26');">CMD_STAT</a></tt><tt class="py-op">:</tt> <tt class="py-string">'stat'</tt><tt class="py-op">,</tt> </tt> -<a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt id="link-72" class="py-name"><a title="paramiko.sftp.CMD_RENAME -paramiko.sftp_attr.CMD_RENAME -paramiko.sftp_client.CMD_RENAME -paramiko.sftp_file.CMD_RENAME -paramiko.sftp_handle.CMD_RENAME -paramiko.sftp_server.CMD_RENAME -paramiko.sftp_si.CMD_RENAME" class="py-name" href="#" onclick="return doclink('link-72', 'CMD_RENAME', 'link-27');">CMD_RENAME</a></tt><tt class="py-op">:</tt> <tt class="py-string">'rename'</tt><tt class="py-op">,</tt> </tt> -<a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> <tt id="link-73" class="py-name"><a title="paramiko.sftp.CMD_READLINK -paramiko.sftp_attr.CMD_READLINK -paramiko.sftp_client.CMD_READLINK -paramiko.sftp_file.CMD_READLINK -paramiko.sftp_handle.CMD_READLINK -paramiko.sftp_server.CMD_READLINK -paramiko.sftp_si.CMD_READLINK" class="py-name" href="#" onclick="return doclink('link-73', 'CMD_READLINK', 'link-28');">CMD_READLINK</a></tt><tt class="py-op">:</tt> <tt class="py-string">'readlink'</tt><tt class="py-op">,</tt> </tt> -<a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt id="link-74" class="py-name"><a title="paramiko.sftp.CMD_SYMLINK -paramiko.sftp_attr.CMD_SYMLINK -paramiko.sftp_client.CMD_SYMLINK -paramiko.sftp_file.CMD_SYMLINK -paramiko.sftp_handle.CMD_SYMLINK -paramiko.sftp_server.CMD_SYMLINK -paramiko.sftp_si.CMD_SYMLINK" class="py-name" href="#" onclick="return doclink('link-74', 'CMD_SYMLINK', 'link-29');">CMD_SYMLINK</a></tt><tt class="py-op">:</tt> <tt class="py-string">'symlink'</tt><tt class="py-op">,</tt> </tt> -<a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt id="link-75" class="py-name"><a title="paramiko.sftp.CMD_STATUS -paramiko.sftp_attr.CMD_STATUS -paramiko.sftp_client.CMD_STATUS -paramiko.sftp_file.CMD_STATUS -paramiko.sftp_handle.CMD_STATUS -paramiko.sftp_server.CMD_STATUS -paramiko.sftp_si.CMD_STATUS" class="py-name" href="#" onclick="return doclink('link-75', 'CMD_STATUS', 'link-30');">CMD_STATUS</a></tt><tt class="py-op">:</tt> <tt class="py-string">'status'</tt><tt class="py-op">,</tt> </tt> -<a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt id="link-76" class="py-name"><a title="paramiko.sftp.CMD_HANDLE -paramiko.sftp_attr.CMD_HANDLE -paramiko.sftp_client.CMD_HANDLE -paramiko.sftp_file.CMD_HANDLE -paramiko.sftp_handle.CMD_HANDLE -paramiko.sftp_server.CMD_HANDLE -paramiko.sftp_si.CMD_HANDLE" class="py-name" href="#" onclick="return doclink('link-76', 'CMD_HANDLE', 'link-31');">CMD_HANDLE</a></tt><tt class="py-op">:</tt> <tt class="py-string">'handle'</tt><tt class="py-op">,</tt> </tt> -<a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt id="link-77" class="py-name"><a title="paramiko.sftp.CMD_DATA -paramiko.sftp_attr.CMD_DATA -paramiko.sftp_client.CMD_DATA -paramiko.sftp_file.CMD_DATA -paramiko.sftp_handle.CMD_DATA -paramiko.sftp_server.CMD_DATA -paramiko.sftp_si.CMD_DATA" class="py-name" href="#" onclick="return doclink('link-77', 'CMD_DATA', 'link-32');">CMD_DATA</a></tt><tt class="py-op">:</tt> <tt class="py-string">'data'</tt><tt class="py-op">,</tt> </tt> -<a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt id="link-78" class="py-name"><a title="paramiko.sftp.CMD_NAME -paramiko.sftp_attr.CMD_NAME -paramiko.sftp_client.CMD_NAME -paramiko.sftp_file.CMD_NAME -paramiko.sftp_handle.CMD_NAME -paramiko.sftp_server.CMD_NAME -paramiko.sftp_si.CMD_NAME" class="py-name" href="#" onclick="return doclink('link-78', 'CMD_NAME', 'link-33');">CMD_NAME</a></tt><tt class="py-op">:</tt> <tt class="py-string">'name'</tt><tt class="py-op">,</tt> </tt> -<a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt id="link-79" class="py-name"><a title="paramiko.sftp.CMD_ATTRS -paramiko.sftp_attr.CMD_ATTRS -paramiko.sftp_client.CMD_ATTRS -paramiko.sftp_file.CMD_ATTRS -paramiko.sftp_handle.CMD_ATTRS -paramiko.sftp_server.CMD_ATTRS -paramiko.sftp_si.CMD_ATTRS" class="py-name" href="#" onclick="return doclink('link-79', 'CMD_ATTRS', 'link-34');">CMD_ATTRS</a></tt><tt class="py-op">:</tt> <tt class="py-string">'attrs'</tt><tt class="py-op">,</tt> </tt> -<a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt id="link-80" class="py-name"><a title="paramiko.sftp.CMD_EXTENDED -paramiko.sftp_attr.CMD_EXTENDED -paramiko.sftp_client.CMD_EXTENDED -paramiko.sftp_file.CMD_EXTENDED -paramiko.sftp_handle.CMD_EXTENDED -paramiko.sftp_server.CMD_EXTENDED -paramiko.sftp_si.CMD_EXTENDED" class="py-name" href="#" onclick="return doclink('link-80', 'CMD_EXTENDED', 'link-35');">CMD_EXTENDED</a></tt><tt class="py-op">:</tt> <tt class="py-string">'extended'</tt><tt class="py-op">,</tt> </tt> -<a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt id="link-81" class="py-name"><a title="paramiko.sftp.CMD_EXTENDED_REPLY -paramiko.sftp_attr.CMD_EXTENDED_REPLY -paramiko.sftp_client.CMD_EXTENDED_REPLY -paramiko.sftp_file.CMD_EXTENDED_REPLY -paramiko.sftp_handle.CMD_EXTENDED_REPLY -paramiko.sftp_server.CMD_EXTENDED_REPLY -paramiko.sftp_si.CMD_EXTENDED_REPLY" class="py-name" href="#" onclick="return doclink('link-81', 'CMD_EXTENDED_REPLY', 'link-36');">CMD_EXTENDED_REPLY</a></tt><tt class="py-op">:</tt> <tt class="py-string">'extended_reply'</tt> </tt> -<a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-op">}</tt> </tt> -<a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> </tt> -<a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> </tt> -<a name="SFTPError"></a><div id="SFTPError-def"><a name="L92"></a><tt class="py-lineno"> 92</tt> <a class="py-toggle" href="#" id="SFTPError-toggle" onclick="return toggle('SFTPError');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="paramiko.sftp.SFTPError-class.html">SFTPError</a> <tt class="py-op">(</tt><tt class="py-base-class">Exception</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="SFTPError-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SFTPError-expanded"><a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> -</div><a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> </tt> -<a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP"></a><div id="BaseSFTP-def"><a name="L96"></a><tt class="py-lineno"> 96</tt> <a class="py-toggle" href="#" id="BaseSFTP-toggle" onclick="return toggle('BaseSFTP');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html">BaseSFTP</a> <tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="BaseSFTP-expanded"><a name="BaseSFTP.__init__"></a><div id="BaseSFTP.__init__-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="BaseSFTP.__init__-toggle" onclick="return toggle('BaseSFTP.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP.__init__-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name" targets="Class paramiko.logging22.logger=paramiko.logging22.logger-class.html"><a title="paramiko.logging22.logger" class="py-name" href="#" onclick="return doclink('link-82', 'logger', 'link-82');">logger</a></tt> <tt class="py-op">=</tt> <tt id="link-83" class="py-name"><a title="paramiko.util" class="py-name" href="#" onclick="return doclink('link-83', 'util', 'link-3');">util</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Function paramiko.util.get_logger()=paramiko.util-module.html#get_logger"><a title="paramiko.util.get_logger" class="py-name" href="#" onclick="return doclink('link-84', 'get_logger', 'link-84');">get_logger</a></tt><tt class="py-op">(</tt><tt class="py-string">'paramiko.sftp'</tt><tt class="py-op">)</tt> </tt> -<a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> -<a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ultra_debug</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> </tt> -</div><a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt> -<a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> </tt> -<a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-comment">### internals...</tt> </tt> -<a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> </tt> -<a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._send_version"></a><div id="BaseSFTP._send_version-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="BaseSFTP._send_version-toggle" onclick="return toggle('BaseSFTP._send_version');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_send_version">_send_version</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._send_version-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._send_version-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_send_packet</tt><tt class="py-op">(</tt><tt id="link-85" class="py-name"><a title="paramiko.sftp.CMD_INIT -paramiko.sftp_attr.CMD_INIT -paramiko.sftp_client.CMD_INIT -paramiko.sftp_file.CMD_INIT -paramiko.sftp_handle.CMD_INIT -paramiko.sftp_server.CMD_INIT -paramiko.sftp_si.CMD_INIT" class="py-name" href="#" onclick="return doclink('link-85', 'CMD_INIT', 'link-10');">CMD_INIT</a></tt><tt class="py-op">,</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">pack</tt><tt class="py-op">(</tt><tt class="py-string">'>I'</tt><tt class="py-op">,</tt> <tt id="link-86" class="py-name"><a title="paramiko.sftp._VERSION" class="py-name" href="#" onclick="return doclink('link-86', '_VERSION', 'link-53');">_VERSION</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> -<a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_packet</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> -<a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">t</tt> <tt class="py-op">!=</tt> <tt id="link-87" class="py-name"><a title="paramiko.sftp.CMD_VERSION -paramiko.sftp_attr.CMD_VERSION -paramiko.sftp_client.CMD_VERSION -paramiko.sftp_file.CMD_VERSION -paramiko.sftp_handle.CMD_VERSION -paramiko.sftp_server.CMD_VERSION -paramiko.sftp_si.CMD_VERSION" class="py-name" href="#" onclick="return doclink('link-87', 'CMD_VERSION', 'link-11');">CMD_VERSION</a></tt><tt class="py-op">:</tt> </tt> -<a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-88" class="py-name" targets="Class paramiko.SFTPError=paramiko.SFTPError-class.html"><a title="paramiko.SFTPError" class="py-name" href="#" onclick="return doclink('link-88', 'SFTPError', 'link-88');">SFTPError</a></tt><tt class="py-op">(</tt><tt class="py-string">'Incompatible sftp protocol'</tt><tt class="py-op">)</tt> </tt> -<a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-name">version</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">unpack</tt><tt class="py-op">(</tt><tt class="py-string">'>I'</tt><tt class="py-op">,</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">4</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> -<a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-comment"># if version != _VERSION:</tt> </tt> -<a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-comment"># raise SFTPError('Incompatible sftp protocol')</tt> </tt> -<a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">version</tt> </tt> -</div><a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._send_server_version"></a><div id="BaseSFTP._send_server_version-def"><a name="L116"></a><tt class="py-lineno">116</tt> <a class="py-toggle" href="#" id="BaseSFTP._send_server_version-toggle" onclick="return toggle('BaseSFTP._send_server_version');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_send_server_version">_send_server_version</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._send_server_version-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._send_server_version-expanded"><a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-comment"># winscp will freak out if the server sends version info before the</tt> </tt> -<a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-comment"># client finishes sending INIT.</tt> </tt> -<a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_packet</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> -<a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">t</tt> <tt class="py-op">!=</tt> <tt id="link-89" class="py-name"><a title="paramiko.sftp.CMD_INIT -paramiko.sftp_attr.CMD_INIT -paramiko.sftp_client.CMD_INIT -paramiko.sftp_file.CMD_INIT -paramiko.sftp_handle.CMD_INIT -paramiko.sftp_server.CMD_INIT -paramiko.sftp_si.CMD_INIT" class="py-name" href="#" onclick="return doclink('link-89', 'CMD_INIT', 'link-10');">CMD_INIT</a></tt><tt class="py-op">:</tt> </tt> -<a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-90" class="py-name"><a title="paramiko.SFTPError" class="py-name" href="#" onclick="return doclink('link-90', 'SFTPError', 'link-88');">SFTPError</a></tt><tt class="py-op">(</tt><tt class="py-string">'Incompatible sftp protocol'</tt><tt class="py-op">)</tt> </tt> -<a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">version</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">unpack</tt><tt class="py-op">(</tt><tt class="py-string">'>I'</tt><tt class="py-op">,</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">4</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> -<a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> <tt class="py-comment"># advertise that we support "check-file"</tt> </tt> -<a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-name">extension_pairs</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt class="py-string">'check-file'</tt><tt class="py-op">,</tt> <tt class="py-string">'md5,sha1'</tt> <tt class="py-op">]</tt> </tt> -<a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt id="link-91" class="py-name"><a title="paramiko.Message" class="py-name" href="#" onclick="return doclink('link-91', 'Message', 'link-9');">Message</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> -<a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name" targets="Method paramiko.Message.add_int()=paramiko.Message-class.html#add_int"><a title="paramiko.Message.add_int" class="py-name" href="#" onclick="return doclink('link-92', 'add_int', 'link-92');">add_int</a></tt><tt class="py-op">(</tt><tt id="link-93" class="py-name"><a title="paramiko.sftp._VERSION" class="py-name" href="#" onclick="return doclink('link-93', '_VERSION', 'link-53');">_VERSION</a></tt><tt class="py-op">)</tt> </tt> -<a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name" targets="Method paramiko.HostKeys.add()=paramiko.HostKeys-class.html#add,Method paramiko.Message.add()=paramiko.Message-class.html#add"><a title="paramiko.HostKeys.add -paramiko.Message.add" class="py-name" href="#" onclick="return doclink('link-94', 'add', 'link-94');">add</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">extension_pairs</tt><tt class="py-op">)</tt> </tt> -<a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_send_packet</tt><tt class="py-op">(</tt><tt id="link-95" class="py-name"><a title="paramiko.sftp.CMD_VERSION -paramiko.sftp_attr.CMD_VERSION -paramiko.sftp_client.CMD_VERSION -paramiko.sftp_file.CMD_VERSION -paramiko.sftp_handle.CMD_VERSION -paramiko.sftp_server.CMD_VERSION -paramiko.sftp_si.CMD_VERSION" class="py-name" href="#" onclick="return doclink('link-95', 'CMD_VERSION', 'link-11');">CMD_VERSION</a></tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> -<a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">version</tt> </tt> -</div><a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._log"></a><div id="BaseSFTP._log-def"><a name="L131"></a><tt class="py-lineno">131</tt> <a class="py-toggle" href="#" id="BaseSFTP._log-toggle" onclick="return toggle('BaseSFTP._log');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_log">_log</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">level</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._log-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._log-expanded"><a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="paramiko.logging22.logger" class="py-name" href="#" onclick="return doclink('link-96', 'logger', 'link-82');">logger</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name" targets="Method paramiko.logging22.logger.log()=paramiko.logging22.logger-class.html#log"><a title="paramiko.logging22.logger.log" class="py-name" href="#" onclick="return doclink('link-97', 'log', 'link-97');">log</a></tt><tt class="py-op">(</tt><tt class="py-name">level</tt><tt class="py-op">,</tt> <tt class="py-name">msg</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt> -</div><a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._write_all"></a><div id="BaseSFTP._write_all-def"><a name="L134"></a><tt class="py-lineno">134</tt> <a class="py-toggle" href="#" id="BaseSFTP._write_all-toggle" onclick="return toggle('BaseSFTP._write_all');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_write_all">_write_all</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">out</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._write_all-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._write_all-expanded"><a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">out</tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name" targets="Method paramiko.Channel.send()=paramiko.Channel-class.html#send,Method paramiko.win_pageant.PageantConnection.send()=paramiko.win_pageant.PageantConnection-class.html#send"><a title="paramiko.Channel.send -paramiko.win_pageant.PageantConnection.send" class="py-name" href="#" onclick="return doclink('link-98', 'send', 'link-98');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">out</tt><tt class="py-op">)</tt> </tt> -<a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">n</tt> <tt class="py-op"><=</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">EOFError</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> -<a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">n</tt> <tt class="py-op">==</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">out</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> -<a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-name">out</tt><tt class="py-op">[</tt><tt class="py-name">n</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt> -<a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> </tt> -</div><a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._read_all"></a><div id="BaseSFTP._read_all-def"><a name="L144"></a><tt class="py-lineno">144</tt> <a class="py-toggle" href="#" id="BaseSFTP._read_all-toggle" onclick="return toggle('BaseSFTP._read_all');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_read_all">_read_all</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">n</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._read_all-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._read_all-expanded"><a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt> -<a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">n</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt><tt class="py-op">,</tt> <tt class="py-name">socket</tt><tt class="py-op">.</tt><tt class="py-name">socket</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -<a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-comment"># sometimes sftp is used directly over a socket instead of</tt> </tt> -<a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-comment"># through a paramiko channel. in this case, check periodically</tt> </tt> -<a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-comment"># if the socket is closed. (for some reason, recv() won't ever</tt> </tt> -<a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt class="py-comment"># return or raise an exception, but calling select on a closed</tt> </tt> -<a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-comment"># socket will.)</tt> </tt> -<a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-keyword">while</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt> -<a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> <tt id="link-99" class="py-name" targets="Method paramiko.BufferedFile.read()=paramiko.BufferedFile-class.html#read,Method paramiko.SFTPHandle.read()=paramiko.SFTPHandle-class.html#read,Method paramiko.buffered_pipe.BufferedPipe.read()=paramiko.buffered_pipe.BufferedPipe-class.html#read"><a title="paramiko.BufferedFile.read -paramiko.SFTPHandle.read -paramiko.buffered_pipe.BufferedPipe.read" class="py-name" href="#" onclick="return doclink('link-99', 'read', 'link-99');">read</a></tt><tt class="py-op">,</tt> <tt id="link-100" class="py-name" targets="Method paramiko.BufferedFile.write()=paramiko.BufferedFile-class.html#write,Method paramiko.SFTPHandle.write()=paramiko.SFTPHandle-class.html#write"><a title="paramiko.BufferedFile.write -paramiko.SFTPHandle.write" class="py-name" href="#" onclick="return doclink('link-100', 'write', 'link-100');">write</a></tt><tt class="py-op">,</tt> <tt class="py-name">err</tt> <tt class="py-op">=</tt> <tt class="py-name">select</tt><tt class="py-op">.</tt><tt class="py-name">select</tt><tt class="py-op">(</tt><tt class="py-op">[</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt> <tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-number">0.1</tt><tt class="py-op">)</tt> </tt> -<a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-101" class="py-name"><a title="paramiko.BufferedFile.read -paramiko.SFTPHandle.read -paramiko.buffered_pipe.BufferedPipe.read" class="py-name" href="#" onclick="return doclink('link-101', 'read', 'link-99');">read</a></tt><tt class="py-op">)</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"> <tt class="py-name">x</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt><tt class="py-op">.</tt><tt id="link-102" class="py-name" targets="Method paramiko.Channel.recv()=paramiko.Channel-class.html#recv,Method paramiko.win_pageant.PageantConnection.recv()=paramiko.win_pageant.PageantConnection-class.html#recv"><a title="paramiko.Channel.recv -paramiko.win_pageant.PageantConnection.recv" class="py-name" href="#" onclick="return doclink('link-102', 'recv', 'link-102');">recv</a></tt><tt class="py-op">(</tt><tt class="py-name">n</tt><tt class="py-op">)</tt> </tt> -<a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"> <tt class="py-keyword">break</tt> </tt> -<a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> -<a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"> <tt class="py-name">x</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">sock</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="paramiko.Channel.recv -paramiko.win_pageant.PageantConnection.recv" class="py-name" href="#" onclick="return doclink('link-103', 'recv', 'link-102');">recv</a></tt><tt class="py-op">(</tt><tt class="py-name">n</tt><tt class="py-op">)</tt> </tt> -<a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"> </tt> -<a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-name">EOFError</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> -<a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">+=</tt> <tt class="py-name">x</tt> </tt> -<a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-name">n</tt> <tt class="py-op">-=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">)</tt> </tt> -<a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">out</tt> </tt> -</div><a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._send_packet"></a><div id="BaseSFTP._send_packet-def"><a name="L167"></a><tt class="py-lineno">167</tt> <a class="py-toggle" href="#" id="BaseSFTP._send_packet-toggle" onclick="return toggle('BaseSFTP._send_packet');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_send_packet">_send_packet</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">t</tt><tt class="py-op">,</tt> <tt class="py-param">packet</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._send_packet-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._send_packet-expanded"><a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-comment">#self._log(DEBUG2, 'write: %s (len=%d)' % (CMD_NAMES.get(t, '0x%02x' % t), len(packet)))</tt> </tt> -<a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> <tt class="py-name">out</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">pack</tt><tt class="py-op">(</tt><tt class="py-string">'>I'</tt><tt class="py-op">,</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-104" class="py-name" targets="Module paramiko.packet=paramiko.packet-module.html"><a title="paramiko.packet" class="py-name" href="#" onclick="return doclink('link-104', 'packet', 'link-104');">packet</a></tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">chr</tt><tt class="py-op">(</tt><tt class="py-name">t</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt id="link-105" class="py-name"><a title="paramiko.packet" class="py-name" href="#" onclick="return doclink('link-105', 'packet', 'link-104');">packet</a></tt> </tt> -<a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ultra_debug</tt><tt class="py-op">:</tt> </tt> -<a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-106" class="py-name" targets="Variable paramiko.auth_handler.DEBUG=paramiko.auth_handler-module.html#DEBUG,Variable paramiko.channel.DEBUG=paramiko.channel-module.html#DEBUG,Variable paramiko.client.DEBUG=paramiko.client-module.html#DEBUG,Variable paramiko.common.DEBUG=paramiko.common-module.html#DEBUG,Variable paramiko.dsskey.DEBUG=paramiko.dsskey-module.html#DEBUG,Variable paramiko.hostkeys.DEBUG=paramiko.hostkeys-module.html#DEBUG,Variable paramiko.kex_gex.DEBUG=paramiko.kex_gex-module.html#DEBUG,Variable paramiko.kex_group1.DEBUG=paramiko.kex_group1-module.html#DEBUG,Variable paramiko.logging22.DEBUG=paramiko.logging22-module.html#DEBUG,Variable paramiko.packet.DEBUG=paramiko.packet-module.html#DEBUG,Variable paramiko.pkey.DEBUG=paramiko.pkey-module.html#DEBUG,Variable paramiko.rsakey.DEBUG=paramiko.rsakey-module.html#DEBUG,Variable paramiko.server.DEBUG=paramiko.server-module.html#DEBUG,Variable paramiko.sftp.DEBUG=paramiko.sftp-module.html#DEBUG,Variable paramiko.sftp_attr.DEBUG=paramiko.sftp_attr-module.html#DEBUG,Variable paramiko.sftp_client.DEBUG=paramiko.sftp_client-module.html#DEBUG,Variable paramiko.sftp_file.DEBUG=paramiko.sftp_file-module.html#DEBUG,Variable paramiko.sftp_handle.DEBUG=paramiko.sftp_handle-module.html#DEBUG,Variable paramiko.sftp_server.DEBUG=paramiko.sftp_server-module.html#DEBUG,Variable paramiko.sftp_si.DEBUG=paramiko.sftp_si-module.html#DEBUG,Variable paramiko.transport.DEBUG=paramiko.transport-module.html#DEBUG,Variable paramiko.util.DEBUG=paramiko.util-module.html#DEBUG"><a title="paramiko.auth_handler.DEBUG -paramiko.channel.DEBUG -paramiko.client.DEBUG -paramiko.common.DEBUG -paramiko.dsskey.DEBUG -paramiko.hostkeys.DEBUG -paramiko.kex_gex.DEBUG -paramiko.kex_group1.DEBUG -paramiko.logging22.DEBUG -paramiko.packet.DEBUG -paramiko.pkey.DEBUG -paramiko.rsakey.DEBUG -paramiko.server.DEBUG -paramiko.sftp.DEBUG -paramiko.sftp_attr.DEBUG -paramiko.sftp_client.DEBUG -paramiko.sftp_file.DEBUG -paramiko.sftp_handle.DEBUG -paramiko.sftp_server.DEBUG -paramiko.sftp_si.DEBUG -paramiko.transport.DEBUG -paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-106', 'DEBUG', 'link-106');">DEBUG</a></tt><tt class="py-op">,</tt> <tt id="link-107" class="py-name"><a title="paramiko.util" class="py-name" href="#" onclick="return doclink('link-107', 'util', 'link-3');">util</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name" targets="Function paramiko.util.format_binary()=paramiko.util-module.html#format_binary"><a title="paramiko.util.format_binary" class="py-name" href="#" onclick="return doclink('link-108', 'format_binary', 'link-108');">format_binary</a></tt><tt class="py-op">(</tt><tt class="py-name">out</tt><tt class="py-op">,</tt> <tt class="py-string">'OUT: '</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> -<a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_all</tt><tt class="py-op">(</tt><tt class="py-name">out</tt><tt class="py-op">)</tt> </tt> -</div><a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> </tt> -<a name="BaseSFTP._read_packet"></a><div id="BaseSFTP._read_packet-def"><a name="L174"></a><tt class="py-lineno">174</tt> <a class="py-toggle" href="#" id="BaseSFTP._read_packet-toggle" onclick="return toggle('BaseSFTP._read_packet');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="paramiko.sftp.BaseSFTP-class.html#_read_packet">_read_packet</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> -</div><div id="BaseSFTP._read_packet-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="BaseSFTP._read_packet-expanded"><a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-name">x</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_all</tt><tt class="py-op">(</tt><tt class="py-number">4</tt><tt class="py-op">)</tt> </tt> -<a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> <tt class="py-comment"># most sftp servers won't accept packets larger than about 32k, so</tt> </tt> -<a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> <tt class="py-comment"># anything with the high byte set (> 16MB) is just garbage.</tt> </tt> -<a name="L178"></a><tt class="py-lineno">178</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">x</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">!=</tt> <tt class="py-string">'\x00'</tt><tt class="py-op">:</tt> </tt> -<a name="L179"></a><tt class="py-lineno">179</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-109" class="py-name"><a title="paramiko.SFTPError" class="py-name" href="#" onclick="return doclink('link-109', 'SFTPError', 'link-88');">SFTPError</a></tt><tt class="py-op">(</tt><tt class="py-string">'Garbage packet received'</tt><tt class="py-op">)</tt> </tt> -<a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt class="py-name">size</tt> <tt class="py-op">=</tt> <tt class="py-name">struct</tt><tt class="py-op">.</tt><tt class="py-name">unpack</tt><tt class="py-op">(</tt><tt class="py-string">'>I'</tt><tt class="py-op">,</tt> <tt class="py-name">x</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> -<a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-name">data</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_read_all</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">)</tt> </tt> -<a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ultra_debug</tt><tt class="py-op">:</tt> </tt> -<a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_log</tt><tt class="py-op">(</tt><tt id="link-110" class="py-name"><a title="paramiko.auth_handler.DEBUG -paramiko.channel.DEBUG -paramiko.client.DEBUG -paramiko.common.DEBUG -paramiko.dsskey.DEBUG -paramiko.hostkeys.DEBUG -paramiko.kex_gex.DEBUG -paramiko.kex_group1.DEBUG -paramiko.logging22.DEBUG -paramiko.packet.DEBUG -paramiko.pkey.DEBUG -paramiko.rsakey.DEBUG -paramiko.server.DEBUG -paramiko.sftp.DEBUG -paramiko.sftp_attr.DEBUG -paramiko.sftp_client.DEBUG -paramiko.sftp_file.DEBUG -paramiko.sftp_handle.DEBUG -paramiko.sftp_server.DEBUG -paramiko.sftp_si.DEBUG -paramiko.transport.DEBUG -paramiko.util.DEBUG" class="py-name" href="#" onclick="return doclink('link-110', 'DEBUG', 'link-106');">DEBUG</a></tt><tt class="py-op">,</tt> <tt id="link-111" class="py-name"><a title="paramiko.util" class="py-name" href="#" onclick="return doclink('link-111', 'util', 'link-3');">util</a></tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="paramiko.util.format_binary" class="py-name" href="#" onclick="return doclink('link-112', 'format_binary', 'link-108');">format_binary</a></tt><tt class="py-op">(</tt><tt class="py-name">data</tt><tt class="py-op">,</tt> <tt class="py-string">'IN: '</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">;</tt> </tt> -<a name="L184"></a><tt class="py-lineno">184</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">size</tt> <tt class="py-op">></tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt> -<a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt class="py-name">t</tt> <tt class="py-op">=</tt> <tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> -<a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"> <tt class="py-comment">#self._log(DEBUG2, 'read: %s (len=%d)' % (CMD_NAMES.get(t), '0x%02x' % t, len(data)-1))</tt> </tt> -<a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">t</tt><tt class="py-op">,</tt> <tt class="py-name">data</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt> -<a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt> </tt> -</div></div><a name="L189"></a><tt class="py-lineno">189</tt> <tt class="py-line"> </tt><script type="text/javascript"> -<!-- -expandto(location.href); -// --> -</script> -</pre> -<br /> -<!-- ==================== NAVIGATION BAR ==================== --> -<table class="navbar" border="0" width="100%" cellpadding="0" - bgcolor="#a0c0ff" cellspacing="0"> - <tr valign="middle"> - <!-- Home link --> - <th> <a - href="paramiko-module.html">Home</a> </th> - - <!-- Tree link --> - <th> <a - href="module-tree.html">Trees</a> </th> - - <!-- Index link --> - <th> <a - href="identifier-index.html">Indices</a> </th> - - <!-- Help link --> - <th> <a - href="help.html">Help</a> </th> - - <th class="navbar" width="100%"></th> - </tr> -</table> -<table border="0" cellpadding="0" cellspacing="0" width="100%%"> - <tr> - <td align="left" class="footer"> - Generated by Epydoc 3.0.1 on Mon May 23 13:50:07 2011 - </td> - <td align="right" class="footer"> - <a target="mainFrame" href="http://epydoc.sourceforge.net" - >http://epydoc.sourceforge.net</a> - </td> - </tr> -</table> - -<script type="text/javascript"> - <!-- - // Private objects are initially displayed (because if - // javascript is turned off then we want them to be - // visible); but by default, we want to hide them. So hide - // them unless we have a cookie that says to show them. - checkCookie(); - // --> -</script> -</body> -</html> |