FTP hangs with urllib.urlretrieve
Michal Wallace (sabren)
sabren at manifestation.com
Tue Mar 7 20:26:11 EST 2000
On Tue, 7 Mar 2000, Oleg Broytmann wrote:
> Hello!
>
> I am developing/running URL checker (sorry, yet another one :). And
> found that I have consistent hangings on some FTP URLs.
>
> Here is test program I am using to retest my results - just URLopener
> and urlretrieve, nothing magical; python is stock 1.5.2, hangs on all
> platforms I am using - Pentium Linux, Sparc Solaris, Pentium FreeBSD:
This is not limited to ftp urls... urllib just hangs sometimes.
I have a bot that uses alarm(), plus some code I found on
comp.lang.python's archives.. but it still hangs on occasion. I have
no clue how to fix it.. And wound up just writing a second cron job
that would come by and kill hung versions. :/
http://www.linkwatcher.com/src/blogbot/
Cheers,
- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/ http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------
More information about the Python-list
mailing list