class twisted.protocols.ftp.IReadFile(Interface): (source)
Known implementations: twisted.protocols.ftp._FileReader
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. |
Produce the contents of the given path to the given consumer. This method may only be invoked once on each provider.
Parameters | consumer | Undocumented (type: IConsumer ) |
Returns | A Deferred which fires when the file has been consumed completely. |