l.r.s.p.w.FTPWalker(WalkerBase) : class documentation

Part of lp.registry.scripts.productreleasefinder.walker View In Hierarchy

FTP URL scheme walker.

This class implements a walker for the FTP URL scheme; it's fairly simple and just walks the FTP tree beneath the URL given using CWD and LIST.

Method __init__ Undocumented
Method open Open the FTP connection.
Method close Close the FTP connection.
Method list Change directory and return listing.

Inherited from WalkerBase:

Method walk Walk through the URL.
def __init__(self, *args, **kwds):
Undocumented
def open(self):
Open the FTP connection.
def close(self):
Close the FTP connection.
def list(self, subdir):
Change directory and return listing.

Returns two lists, one of directory names and one of file names under the path.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.