[docs] Python v2.6.4 documentation » The Python Language Reference »

bob gailer bgailer at gmail.com
Fri Jul 30 06:11:42 CEST 2010


FTP.retrlines(/command/[, /callback/])
    Retrieve a file or directory listing in ASCII transfer mode.
    /command/ should be an appropriate RETR command (see retrbinary()
    <#ftplib.FTP.retrbinary>) or a command such as LIST, NLST or MLSD
    (usually just the string 'LIST'). The /callback/ function is called
    for each line, with the trailing CRLF stripped. The default
    /callback/ prints the line to sys.stdout.

Should read:

The /callback/ function is called for each line, /with a single string 
argument giving the line/, with the trailing CRLF stripped.

-- 
Bob Gailer
919-636-4239
Chapel Hill NC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20100730/e024a930/attachment.html>


More information about the docs mailing list