Re: [ftpext] [Uri-review] draft-yevstifeyev-ftp-uri-scheme-02 posted

Mykyta Yevstifeyev <evnikita2@gmail.com> Mon, 20 June 2011 09:55 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: ftpext@ietfa.amsl.com
Delivered-To: ftpext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9D7411E80D4; Mon, 20 Jun 2011 02:55:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.323
X-Spam-Level:
X-Spam-Status: No, score=-4.323 tagged_above=-999 required=5 tests=[AWL=0.975, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id taHAFu4+tVZx; Mon, 20 Jun 2011 02:55:43 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 75E3511E80D0; Mon, 20 Jun 2011 02:55:43 -0700 (PDT)
Received: by yxt33 with SMTP id 33so3534254yxt.31 for <multiple recipients>; Mon, 20 Jun 2011 02:55:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=pW8cZdLrAa7EA7zyD5jND8FopdwUNfqnHuW4wF6kAfI=; b=GlpQGBSn3idOOgnyuyRoDp1K3Z4XqDW7G2me/QGa0f8DeRptXFyDYr3IJdZmqWHChV ykbpRtjBHebYvtKwCoeq+xrsLtqatHPh2QOWnyOocd9sR0Ec+1hbylLfhpoXpzAKuSg2 FDdoClBfv4NRZMQUHTRhQ4PwZZABdflvOSTnw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=qDNUOTw0MrbItRHPGk9v70TiIpwnHNUcRDBUWOh+d5j7qgFTQ1JrOBfv5JBHSEgZfx sIi527bmOCGnBBPuixYjDlAXGBh+fmHQJNe1c03Xe6NrL5ltS6x6lAEajpLxVleOHCpj /lfGJ/E8wLAARHYLs7MM6FNCaUN+AfKc/GGIs=
Received: by 10.236.187.98 with SMTP id x62mr7183463yhm.238.1308563742429; Mon, 20 Jun 2011 02:55:42 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id o47sm3408480yhn.58.2011.06.20.02.55.39 (version=SSLv3 cipher=OTHER); Mon, 20 Jun 2011 02:55:41 -0700 (PDT)
Message-ID: <4DFF194B.6080002@gmail.com>
Date: Mon, 20 Jun 2011 12:56:27 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
References: <4DFD839A.6010601@gmail.com> <3B577BB53D9ADA3FC12E770F@[192.168.1.128]> <4DFF0759.6@it.aoyama.ac.jp>
In-Reply-To: <4DFF0759.6@it.aoyama.ac.jp>
Content-Type: multipart/alternative; boundary="------------090202070802000000080506"
Cc: ftpext@ietf.org, uri-review@ietf.org
Subject: Re: [ftpext] [Uri-review] draft-yevstifeyev-ftp-uri-scheme-02 posted
X-BeenThere: ftpext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <ftpext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ftpext>, <mailto:ftpext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ftpext>
List-Post: <mailto:ftpext@ietf.org>
List-Help: <mailto:ftpext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ftpext>, <mailto:ftpext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jun 2011 09:55:45 -0000

20.06.2011 11:39, "Martin J. Dürst" wrote:
> Hello John,
>
> [ . . . ]
>
> With that, I don't want to necessarily say that I would disagree with 
> what you wrote e.g. specifically about the TYPE parameter. 
I may argue whether type-code part is really useful in the scheme.  I've 
checked the behavior of the browsers with regard to this part.  The results:

    * Firefox 4.0.1 (with no FTP-related addons): seems to ignore. 
      ftp://ftp.rfc-editor.org/in-notes/rfc-ref.txt;type=aft has to
      return 500 (checked; see below), but it doesn't.  The same is with
      ftp://ftp.rfc-editor.org/in-notes/rfc-ref.txt;type=f (F type-code
      isn't specified yet).
    * Google Chrome 12.0: the same.
    * Safari 3.2.1: the same.
    * IE 8: handles ";type=a" or ";type=i"; URIs with other one-letter
      type-codes are not resolved at all; if type-code has more than one
      letter - ignores.


I've also checked this with 2 FTP clients.

    *   FireZilla 3.3.2.  Type-code part is simply handled as a part of
      a path resulting in URI ftp://ftp.rfc-editor.org/in-notes/;type=a
      being interpreted as:


> Status:    Resolving address of ftp.rfc-editor.org
> Status:    Connecting to 64.170.98.47:21...
> Status:    Connection established, waiting for welcome message...
> Response:   220 "FTP Server Ready"
> Command:    USER anonymous
> Response:   331 Please specify the password.
> Command:    PASS **************
> Response:   230 Login successful.
> Command:    OPTS UTF8 ON
> Response:   200 Always in UTF8 mode.
> Status:    Connected
> Status:    Retrieving directory listing...
> Command:    CWD /in-notes/;type=a
> Response:   550 Failed to change directory.
> Command:    PWD
> Response:   257 "/"
> Status:    Directory listing successful

    * SmartFTP 4.0: the same.

FYI: bare Telnet connection to the server for checking TYPE command: 
http://i51.tinypic.com/21b10jt.jpg

So defining the scheme as currently used requires the deprecating the 
type-code part, I'm convinced.  It is mostly useless.

> But I very strongly think that this and other details have to be 
> argued on their merits, rather than on a on the base of a non-existing 
> principle of "if it's in the protocol, it has to be in the URI scheme".
Agreed here.

Mykyta
>
> Regards,   Martin.
>
>
>
> On 2011/06/19 23:38, John C Klensin wrote:
>>
>>
>> --On Sunday, June 19, 2011 08:05 +0300 Mykyta Yevstifeyev
>> <evnikita2@gmail.com>  wrote:
>>
>>> Hello,
>>>
>>> After working on the document a bit, I've submitted a new
>>> version of draft-yevstifeyev-ftp-uri-scheme-02:
>>>
>>> http://tools.ietf.org/html/draft-yevstifeyev-ftp-uri-scheme-02
>>>
>>> The differences from -01 are at
>>> http://tools.ietf.org/rfcdiff?url2=draft-yevstifeyev-ftp-uri-s
>>> cheme-02.txt
>>>
>>> I personally believe the document is almost ready, yet, I'd
>>> like to seek more community comments (if any) on it.
>>
>> First of all, I appreciate the many improvements in this
>> document.  Most of my difficulties with the earlier version
>> remain and, as a result, I don't think we are at "almost ready".
>> For example:
>>
>> (1) Regardless of what was done in RFC 1738, if something is
>> going to be called an "FTP" URI, it should reflect the FTP
>> protocol is a serious and comprehensive way.   Failure to do so
>> is, IMO, a "known technical omission" and, using logic you have
>> used in other contexts, would require deprecating the existing
>> definition and moving it to Historic if it were in a stand-alone
>> document.   Perhaps, if you want to go down this path, you
>> should think about a new "ftpanon" URI that would incorporate
>> these capabilities (and maybe one or two more, see below), drop
>> <user-pass>  from the syntax entirely (always send "anonymous"
>> and then respond to any password prompt based on what it says),
>> and so on.   If you did that, it would make sense to have the
>> document also update 1738 to deprecate its definition of an FTP
>> URI (or to have a discussion with the IESG about whether the
>> "obsoleted by" status of 1738 already accomplished that), which
>> I assume is part of your objective.
>>
>> (2) In a world in which a lot of servers (maybe a majority) run
>> Linux or flavors of Unix and many client machines run something
>> else and get confused when trying to interpret files with
>> LF-only line terminations as text), I still believe that support
>> for TYPE is critical, even in a the stripped-down "ftpanon" URI
>> concept but certainly with a full FTP URI.
>>
>> (3) To the extent to which the FTPEXT2 WG is actually doing
>> anything, a full FTP URI needs to consider the changes that are
>> being made there, or at least to have a mechanism for being
>> extended to recognize additional commands and keywords.   Again,
>> reducing your expectations to what I describe above as an
>> "ftpanon" URI would eliminate at least most of that problem.  If
>> you want a general FTP URI, I think that WG should carefully
>> review the spec once it has drained its queue of
>> charter-specified pending work.
>>
>> (4) If your goal is not really to define a URI but to describe
>> the way in which the "ftp" URI is being used today, that would
>> be ok as an Informational document.  But, to the extent to which
>> what the description did or did not include constituted a known
>> technical omission or defect, that document would be
>> inappropriate for standards track.
>>
>> (5) It in just a nit compared to the above, but I can find
>> absolutely nothing in this specification that updates RFC 959 in
>> any way.
>>
>> All just my opinion, of course.
>>
>>      john
>>
>> _______________________________________________
>> Uri-review mailing list
>> Uri-review@ietf.org
>> https://www.ietf.org/mailman/listinfo/uri-review
>>
>