[Twisted-Python] POP3 improvements

Bob Ippolito bob at redivi.com
Tue Dec 31 01:42:50 EST 2002

On Tuesday, Dec 31, 2002, at 01:40 America/New_York, Andrew Bennetts 
> I do need to use different protocols, or at least I did at a previous 
> job...
> I had a program that downloaded TIFF files and text files.  TIFF files
> needed to be written to disk and processed, text files were written to 
> disk
> for posterity, but were processed as they came in.
> Also, an FTPClient can have multiple commands queued (It seems 
> reasonable to
> be able to do f.cd('foo/bar'); f.retr('file1'); f.retr('file2')), so an
> instance attribute isn't a sane option.
> Any other ideas, though?  I would like to make it cleaner.

Crazy idea, but maybe some extension to or subclass of Deferred is in 
order, where you would receive chunks until it's done?

More information about the Twisted-Python mailing list