[Python-ideas] callback support for storxxxx methods in ftplib?

Terry Carroll carroll at tjc.com
Mon Jan 21 23:25:31 CET 2008


What's the chance of having support added to the storbinary and storlines 
to support callback, just like retrbinary and retrlines has, for Python 
2.6?

There's a patch for this at http://bugs.python.org/issue1221598 but it 
hasn't seemed to generate much enthusiasm.

I've had at least one instance where I've needed this, and monkey-patched 
in this patch to get the functionality.  It's also just plain odd that the 
file transfer capability is not symmetrical; is there any reason why 
callback capability is considered important for downlaods, but not for 
uploads?






More information about the Python-ideas mailing list