Actually I have encountered a possible bug. the close() method doesn't seem to actually close the connection...
Thank you Giampaolo, it works just as I was hoping, =] I tested it on glftpdAdded file: http://bugs.python.org/file13161/unnamed
using python 2.6.1.
_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue2054>
_______________________________________