Re: [ftpext] Fwd: New Version Notification for draft-bryan-ftpext-hash-00.txt

Anthony Bryan <anthonybryan@gmail.com> Sat, 07 April 2012 00:35 UTC

Return-Path: <anthonybryan@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 51F2D21F8587 for <ftpext@ietfa.amsl.com>; Fri, 6 Apr 2012 17:35:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1GPgJw28OFUK for <ftpext@ietfa.amsl.com>; Fri, 6 Apr 2012 17:35:43 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 9AE2211E8085 for <ftpext@ietf.org>; Fri, 6 Apr 2012 17:35:43 -0700 (PDT)
Received: by yhkk25 with SMTP id k25so1565168yhk.31 for <ftpext@ietf.org>; Fri, 06 Apr 2012 17:35:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7vp3D+movQCvdo2Fu8712pa2XqkK/OoS4MYVKjSYWsA=; b=EI8L+8/HRWbaQyCmR3zHs7WcFkvlWMIyKo5tmGnlaMBKVeGn+N6F+AZqsb+M46mYAp b0CYVn+FOlIhwvlv+HrEitFwwtBBgWaPfRlKzIUlb1i0rRFyYUvxVwcL/rzT05lOYxK5 OonVp9XHRNfVpFYNi1L/Ok6OeQhS7bYitihiOXnxytmLx5iRBUH9DpS5aEtqOOc64CzW ZIa+WiV5pPY4OgnxkLGDmEHzYEZzD11u3kE9OL8WRPgfkpblj0kpKmOWsclCSMYHh9vy GPTly0pnKVMgNG+fUfbUo35HGo+LDFAn3R66p3JpNT7SHxa/HrS6qPyJ8i/Q1GCIDaIC VSmw==
MIME-Version: 1.0
Received: by 10.236.184.202 with SMTP id s50mr8361495yhm.84.1333758943202; Fri, 06 Apr 2012 17:35:43 -0700 (PDT)
Received: by 10.146.95.15 with HTTP; Fri, 6 Apr 2012 17:35:43 -0700 (PDT)
In-Reply-To: <36F3A30DD743D74C9BE4FF935AB5B5F30E259865@m.smartsoft.local>
References: <20120406204700.15838.17811.idtracker@ietfa.amsl.com> <CANqTPejDknRFSGg_0Gm_24GKbiZ9-yfMBW2A9kTibAcdeh97Ag@mail.gmail.com> <36F3A30DD743D74C9BE4FF935AB5B5F30E259865@m.smartsoft.local>
Date: Fri, 6 Apr 2012 20:35:43 -0400
Message-ID: <CANqTPeh_FJNCT5gpnNyVTEQQKt8FUxUaDxmKJv6CHcFQb+yfUA@mail.gmail.com>
From: Anthony Bryan <anthonybryan@gmail.com>
To: Mat Berchtold <mb@smartftp.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "ftpext@ietf.org" <ftpext@ietf.org>
Subject: Re: [ftpext] Fwd: New Version Notification for draft-bryan-ftpext-hash-00.txt
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: Sat, 07 Apr 2012 00:35:44 -0000

On Fri, Apr 6, 2012 at 7:35 PM, Mat Berchtold <mb@smartftp.com>; wrote:
>>draft-bryan-ftpext-hash
>>3.3.  Partial File Hashes with RANG
> I have some concerns or better a lack of understanding regarding the partial hashes specification.
>
> How does the client know if partial hashes are supported without trial&error?
> Let's assume the following:
> 1. Server supports partial transfers (draft-bryan-ftp-range) and announces it in the FEAT as: RANG STREAM.
> 2. Server announces the HASH command in the FEAT reply as HASH SHA-256*
>
> Does this now automatically imply that partial hashes (RANG followed by HASH) are supported as well?

my quick Friday night answer, we should announce partial hashes in HASH's FEAT
and maybe a specific error code for when partial hashes aren't supported?

any suggestions?

from RFC 959:

         503 Bad sequence of commands.
         504 Command not implemented for that parameter.

"A refinement of that is the 504 reply for a command
that is implemented, but that requests an unimplemented
parameter."

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