[docs] Python v2.6.4 documentation » The Python Language Reference »
bgailer at gmail.com
Fri Jul 30 06:11:42 CEST 2010
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.
The /callback/ function is called for each line, /with a single string
argument giving the line/, with the trailing CRLF stripped.
Chapel Hill NC
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs