interface documentation

class twisted.protocols.ftp.IReadFile(Interface): (source)

Known implementations: twisted.protocols.ftp._FileReader

View In Hierarchy

A file out of which bytes may be read.

Method send Produce the contents of the given path to the given consumer. This method may only be invoked once on each provider.
def send(consumer): (source)

Produce the contents of the given path to the given consumer. This method may only be invoked once on each provider.

ParametersconsumerUndocumented (type: IConsumer)
ReturnsA Deferred which fires when the file has been consumed completely.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.