[ftpext] draft-bryan-ftp-range-01 - reset

Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Thu, 27 January 2011 12:08 UTC

Return-Path: <tatsuhiro.t@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 3D41328C133 for <ftpext@core3.amsl.com>; Thu, 27 Jan 2011 04:08:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.212
X-Spam-Level:
X-Spam-Status: No, score=-4.212 tagged_above=-999 required=5 tests=[AWL=-0.612, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 ddAcstZGsajY for <ftpext@core3.amsl.com>; Thu, 27 Jan 2011 04:08:20 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id E0B7228C13E for <ftpext@ietf.org>; Thu, 27 Jan 2011 04:08:19 -0800 (PST)
Received: by fxm9 with SMTP id 9so2247490fxm.31 for <ftpext@ietf.org>; Thu, 27 Jan 2011 04:11:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=FZT8T9vQs6pAMfDiZ7STmsW3eoyCuts7BAiO5WBHvXk=; b=v6CsFuCUtNSxRWrnEwPcV29EBQKDpKgy0CAy5u640pr8ym5U2BHjH5ysyEPdfQJ/c9 oREjMTo4PbL76uSrIzdBMOjTwY3sZQhHoeKB+HDsPYJbGnF68kkWGhJ+VaniPE1yMDAU THi1j7a+f2dg8hRQbzkKnrOnU7maRw4HY4UG4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=ssi+rks2gp+CBpUTFVlIaCS5uiKCxCJB85PhQG9baQTzWag2BJKWiXzIOUIpLav5Wk 68PGr0ukrtRu0s41SEaPwPkVZtefKMs4xtCmKQB2oUZ8L6W3ef96f4xg2HpY3XhrDZj+ /lxpJQhdA59pqA+kCIdEo1chxouA+IwZv0IM0=
Received: by 10.223.97.8 with SMTP id j8mr806426fan.141.1296130281412; Thu, 27 Jan 2011 04:11:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.78.194 with HTTP; Thu, 27 Jan 2011 04:11:01 -0800 (PST)
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 27 Jan 2011 21:11:01 +0900
Message-ID: <AANLkTimYAAkSX8AV1CSYwqgxXFOngafzSd1MJhhYU-bj@mail.gmail.com>
To: ftpext@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Subject: [ftpext] draft-bryan-ftp-range-01 - reset
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: Thu, 27 Jan 2011 12:08:25 -0000

Hi,

draft-bryan-ftp-range-01 changed the way to reset the range command
previously issued.

4.  The RANGe Command (RANG)

  To reset the range command, "RANG 1 0" should be issued.  Invalid
   RANG requests where 'start-point' is larger than 'end-point'
   automatically reset the byte selection to the default, which is the
   whole file.

But currently, it states that server should respond with a 5yz reply
with "RANG 1 0".

4.3.  RANG Command Errors
   ...
   The server-PI SHOULD reply with a 5yz reply if the specified end
   point is larger than the actual file or the end point is before the
   start point.

I think "RANG 1 0" is a recommended way of reseting range, I think server must
reply with 200 reply. So I propose to add following sentence to the
above paragraph:

   But the server-PI MUST reply with a 200 reply if "RANG 1 0" is issued
   by client-PI because it is a valid way of reseting range.

Best regards,

Tatsuhiro Tsujikawa