A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-July/101624.html below:

[Python-Dev] Can ftp url start with file:// ?

[Python-Dev] Can ftp url start with file:// ? [Python-Dev] Can ftp url start with file:// ?Steven D'Aprano steve at pearwood.info
Fri Jul 9 06:23:40 CEST 2010
On Fri, 9 Jul 2010 01:52:32 pm Senthil Kumaran wrote:
> Strictly not a Python question, but I wanted to know from the
> experience of others in this list.
>
> Is this is valid ftp url?
>
> # file://ftp.example.com/blah.txt (an ftp URL)
>
> My answer is no. When we have the scheme specifically mentioned as
> file:// it is no point in considering it as ftp url (which should
> start with ftp://).

I agree. Just because the host is *called* ftp doesn't mean you should 
use the ftp protocol to get the file.

http://en.wikipedia.org/wiki/File_URI_scheme

> If I go ahead with this assumption and fix a bug in stdlib, I am
> introducing a regression because at the moment the above is
> considered a ftp url.

Do you have a url for the bug report?



-- 
Steven D'Aprano
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4