Re: [ftpext] A few comments on draft-bryan-ftp-hash-05

Anthony Bryan <anthonybryan@gmail.com> Tue, 27 July 2010 20:19 UTC

Return-Path: <anthonybryan@gmail.com>
X-Original-To: ftpext@core3.amsl.com
Delivered-To: ftpext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C3D3C28C0D7 for <ftpext@core3.amsl.com>; Tue, 27 Jul 2010 13:19:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.437
X-Spam-Level:
X-Spam-Status: No, score=-2.437 tagged_above=-999 required=5 tests=[AWL=0.163, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZEVzWXjqCzkk for <ftpext@core3.amsl.com>; Tue, 27 Jul 2010 13:19:46 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 988E928C0E0 for <ftpext@ietf.org>; Tue, 27 Jul 2010 13:19:46 -0700 (PDT)
Received: by iwn38 with SMTP id 38so4236861iwn.31 for <ftpext@ietf.org>; Tue, 27 Jul 2010 13:20:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=17pURnja5HDAowR4K7MY57Ka8Af+sPc+6RfEbbThfgs=; b=hGJWnGVMYk+b2T3mJJf/h0Y40t2AYNc2HAtEaUJHhPwk1gLabqJHXjwrk4d7PGo/cl Bk/rKbWerfE+VZo3SU1f6kTuS9w9wmXIQtiGxJOgZmiKsNrL8TUF5K57nzHmidGL+BB1 Z57t1VN00xtooJz1R9YQFxvMyXiXDuifa/kew=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gUZRREmnPAMp1iOQ7VQdjt5u8qXmjLaseNgQngT0xfnKRLgW8H0peQaGgkWTaSY83a DdG8jmoJ2Sspdgwr7eQFQt0NhyW2uB+h9v/Ai+/7Swtnlz9YS/MUfp5iwFaH8OUSNLk6 Dwk0Hm48b6Qdw8m4rU4ziinq4G0hhcSjyXGxQ=
MIME-Version: 1.0
Received: by 10.231.79.74 with SMTP id o10mr10907229ibk.36.1280262007188; Tue, 27 Jul 2010 13:20:07 -0700 (PDT)
Received: by 10.231.159.143 with HTTP; Tue, 27 Jul 2010 13:20:06 -0700 (PDT)
In-Reply-To: <OFCA1BC0E6.25928E0B-ON8025776D.00392DC9-8025776D.003A5194@uk.ibm.com>
References: <OF5B8F7FAC.BDF21341-ON80257752.00272796-80257752.002FC71F@uk.ibm.com> <4C2F1B7A.2040707@filezilla-project.org> <AANLkTinkcSl8PaGIQpJtGPfgGds5MvjXyxZYo1bJVDrJ@mail.gmail.com> <A5FC996C3C37DC4DA5076F1046B5674C3685A295@TK5EX14MBXC129.redmond.corp.microsoft.com> <4C3CEB60.1040903@filezilla-project.org> <A5FC996C3C37DC4DA5076F1046B5674C3685A430@TK5EX14MBXC129.redmond.corp.microsoft.com> <OFA92E0E77.3E3C9F3D-ON80257761.00251D7F-80257761.002557F5@uk.ibm.com> <4C4CA182.2070601@filezilla-project.org> <AANLkTikwv=BU4qe_EUAtZ0ALVE1Ok9nOXaiYM1MPXLWj@mail.gmail.com> <OFCA1BC0E6.25928E0B-ON8025776D.00392DC9-8025776D.003A5194@uk.ibm.com>
Date: Tue, 27 Jul 2010 16:20:06 -0400
Message-ID: <AANLkTiks+HHYX-te6gdMJ1muwB9HkMJSzc=Q4mKRFkzF@mail.gmail.com>
From: Anthony Bryan <anthonybryan@gmail.com>
To: Paul Ford-Hutchinson <paulfordh@uk.ibm.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "ftpext@ietf.org" <ftpext@ietf.org>
Subject: Re: [ftpext] A few comments on draft-bryan-ftp-hash-05
X-BeenThere: ftpext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <ftpext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 27 Jul 2010 20:19:47 -0000

On Tue, Jul 27, 2010 at 6:37 AM, Paul Ford-Hutchinson
<paulfordh@uk.ibm.com> wrote:
>
>
> Anthony Bryan <anthonybryan@gmail.com> wrote on 26/07/2010 19:30:33:
>
>> On Sun, Jul 25, 2010 at 4:41 PM, Tim Kosse
>> <tim.kosse@filezilla-project.org> wrote:
>> > On 2010-07-15 08:56, Paul Ford-Hutchinson wrote:
>> >
>> >> I propose that this draft specifically excludes HASH over a directory
>> >> (i.e. returns a 4xy error)
>> >
>> > Yes. Intuitively I would have implemented HASH without directory
>> > support, but I concur that it needs to be explicitly mentioned in the
>> > draft.
>>
>> the draft says this already:
>>
>> "The pathname argument MUST represent a file path, not a directory path."
>>
>> what should we add?
>
> Oops, must have missed that (even though I was looking for it).  Maybe
> resurrect the <blink> tag :-)

hehe :)

> In my defence I would expect to see this restriction on the server behaviour
> and not on the content of a client created value (the client may have no
> idea that /x/y/z is a directory and not a file).  i.e. I would expect to see
> it in section 3.4 (where I don't spot 553)

we'll add this in the next draft in 3.4:

"The server-PI SHOULD reply with a 553 reply if the user requests the
HASH of a directory, which is not allowed."

do you think we should have more clarifications elsewhere? I guess
it's implicit, but the draft mentions file, file, and doesn't mention
directory except to say that it's not for that. if it doesn't
communicate that well, maybe we should make it more explicit.

>> further, Tim adds that this would be a permanent negative completion
>> (5yz) instead of transient negative completion (4yz) and suggests 553.
>
> The reason I put a 4xy was that path /x/y/z might be a directory one day and
> a file the next.  Revisiting the discussion on RFC959, I agree that it
> should be 5xy.  (55y to be more precise)

great.

-- 
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
  )) Easier, More Reliable, Self Healing Downloads