<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<dl class="method">
  <dt id="ftplib.FTP.retrlines"><tt class="descclassname">FTP.</tt><tt
 class="descname">retrlines</tt><big>(</big><em>command</em><span
 class="optional">[</span>, <em>callback</em><span class="optional">]</span><big>)</big>
  </dt>
  <dd>Retrieve a file or directory listing in ASCII transfer mode. <em>command</em>
should be an appropriate <tt class="docutils literal"><span class="pre">RETR</span></tt>
command (see <a class="reference internal"
 title="ftplib.FTP.retrbinary" href="#ftplib.FTP.retrbinary"><tt
 class="xref docutils literal"><span class="pre">retrbinary()</span></tt></a>)
or a command such as <tt class="docutils literal"><span class="pre">LIST</span></tt>,
    <tt class="docutils literal"><span class="pre">NLST</span></tt> or <tt
 class="docutils literal"><span class="pre">MLSD</span></tt> (usually
just the string <tt class="docutils literal"><span class="pre">'LIST'</span></tt>).
The <em>callback</em> function is called for each line, with the
trailing CRLF stripped. The default <em>callback</em> prints the line
to <tt class="docutils literal"><span class="pre">sys.stdout</span></tt>.</dd>
</dl>
Should read:<br>
<br>
The <em>callback</em> function is called for each line, <i>with a
single string argument giving the line</i>, with the trailing CRLF
stripped.<br>
<pre class="moz-signature" cols="72">-- 
Bob Gailer
919-636-4239
Chapel Hill NC</pre>
</body>
</html>