Table of Contents

Class: FTPFileListProtocol | Twisted-0.19.0/twisted/protocols/ftp.py
--- | ---
### Parser for standard FTP file listings This is the evil required to match `-rw-r--r-- 1 root other 531 Jan 29 03:26 README` If you need different evil for a wacky FTP server, you can override this. It populates the instance attribute self.files, which is a list containing dicts with the following keys (examples from the above line): - filetype: e.g. `d` for directories, or `-` for an ordinary file - perms: e.g. `rw-r--r--` - owner: e.g. `root` - group: e.g. `other` - size: e.g. 531 - date: e.g. `Jan 29 03:26` - filename: e.g. `README` Note that the `date` value will be formatted differently depending on the date. Check http://cr.yp.to/ftp.html if you really want to try to parse it.
Base Classes |
--- | ---
basic.LineReceiver
Methods |
--- | ---
__init__ lineReceived
| __init__
    __init__ ( self )
| lineReceived
    lineReceived ( self,  line )

Table of Contents

This document was automatically generated on Sun Jul 14 19:52:57 2002 by HappyDoc version 2.0