[New-bugs-announce] [issue2891] urllib not handling ftp servers that do not support REST

daggett report at bugs.python.org
Fri May 16 12:18:49 CEST 2008


New submission from daggett <den.mail at free.fr>:

I reported a bug in fedora bugzilla :
https://bugzilla.redhat.com/show_bug.cgi?id=443033

I thought this was an Anaconda (Fedora installer written in Python)
error, but someone wrote this is a Python urllib error, so I post it
here to be sure this is a Python error or not.

The bug is:
When downloading a file from an FTP server, it uses the REST command
everytime and don't bother to check if the FTP server supports this command.
So if the FTP server does not support the REST command, the download
just fails and there is no alternative: no mean to download a file.

But it should have detected that the FTP server does not support the
REST command and try to download using the GET command instead.

It happened when net-installing Fedora8 from ftp://ftp.proxad.net which
does not support the REST command (for more information, see the URL to
the bug I submitted to Fedora Bugzilla).

regards,
Dag

----------
components: Build
messages: 66928
nosy: daggett
severity: normal
status: open
title: urllib not handling ftp servers that do not support REST
type: behavior
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2891>
__________________________________


More information about the New-bugs-announce mailing list