FTP hangs on close

Oleg Broytmann phd at phd.russ.ru
Thu Mar 9 04:10:12 EST 2000


On Wed, 8 Mar 2000, Makhno wrote:
> >Yesterday I reported consistent hangings with urllib.urlretrieve - on
> >some FTP sites urlretrieve just hangs forever.
> 
> The client is probably waiting for a 'goodbye' message from the server,
> which, due to a botched server configuration (or maybe the admin's choice)
> is never sent, so the client waits indefinately.

   On the other hand - it seems the program hangs hard - I cannot kill it
with ^C - only "kill $pid" can help. I cannot believe ftplib is waiting
"goodby" so hard :)

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list