Class
zope.app.twisted.ftp.utils.FTPRequestFactory

FTP Request factory

FTP request factories for a given database create FTP requets with publications on the given database:

>>> from ZODB.tests.util import DB
>>> db = DB()
>>> factory = FTPRequestFactory(db)
>>> from cStringIO import StringIO
>>> request = factory(StringIO(''), {'credentials': None, 'path': '/'})
>>> request.publication.db is db
True
>>> db.close()

Base classes

Implemented Interfaces

Attributes/Properties

There are no attributes in this class.

Methods

There are no methods in this class.

Known Subclasses

There are no known subclasses.