linkcheck.ftpparse
Python implementation of a part of Dan Bernstein’s ftpparse library.
See also http://cr.yp.to/ftpparse.html
Functions
|
Parse a FTP list line into a dictionary with attributes: name - name of file (string) trycwd - False if cwd is definitely pointless, True otherwise tryretr - False if retr is definitely pointless, True otherwise |
|
Check if given text is a month name. |
- linkcheck.ftpparse.ftpparse(line)[source]
Parse a FTP list line into a dictionary with attributes: name - name of file (string) trycwd - False if cwd is definitely pointless, True otherwise tryretr - False if retr is definitely pointless, True otherwise
If the line has no file information, None is returned