Re: [ftpext] End byte of transfer in FTP

Richard Koenning <Richard.Koenning@ts.fujitsu.com> Mon, 06 December 2010 15:33 UTC

Return-Path: <Richard.Koenning@ts.fujitsu.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 B1A243A6811 for <ftpext@core3.amsl.com>; Mon, 6 Dec 2010 07:33:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 27XfxFBXH7eF for <ftpext@core3.amsl.com>; Mon, 6 Dec 2010 07:33:18 -0800 (PST)
Received: from dgate20.ts.fujitsu.com (dgate20.ts.fujitsu.com [80.70.172.51]) by core3.amsl.com (Postfix) with ESMTP id A09193A681D for <ftpext@ietf.org>; Mon, 6 Dec 2010 07:33:17 -0800 (PST)
DomainKey-Signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Message-ID:Date:From:Reply-To:Organization: User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=EJQjRILg/F4W4gpZOOWYxfRsFpw2tOwTkRo8e81PtTyz72wJlbsNSLKo VoOntpiMeMjvHtFwzuM1p+p/AiKNtyGUdmFRAKWk1Mj3x2gylc+qiPVAL +FRgGE4zkaSdND2X4xaolcXdSwN+WnPz/88LdT7MnBzdN3B8ZWXfolUOF 8EV52u2jXUaVhm1V2kUyOQ7AIdFFSZoRd5P48x7jgclwpBPXpCn1LXzav +1o8YE0EgDPaNJtCA2/DmI6/0cJ27;
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=Richard.Koenning@ts.fujitsu.com; q=dns/txt; s=s1536b; t=1291649682; x=1323185682; h=message-id:date:from:reply-to:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; z=Message-ID:=20<4CFD028C.6050105@ts.fujitsu.com>|Date:=20 Mon,=2006=20Dec=202010=2016:34:36=20+0100|From:=20Richard =20Koenning=20<Richard.Koenning@ts.fujitsu.com>|Reply-To: =20=20Richard.Koenning@ts.fujitsu.com|MIME-Version:=201.0 |To:=20"ftpext@ietf.org"=20<ftpext@ietf.org>|CC:=20John =20C=20Klensin=20<john-ietf@jck.com>,=20Daniel=20Stenberg =20<daniel@haxx.se>,=20=0D=0A=20Anthony=20Bryan=20<anthon ybryan@gmail.com>|Subject:=20Re:=20[ftpext]=20End=20byte =20of=20transfer=20in=20FTP|References:=20<AANLkTi=3D_OsG PMsC=3DBHtOyHzTTM5vJ1=3DyW9fYk_Tp1xm7@mail.gmail.com>=09< alpine.DEB.2.00.1012011959520.21860@tvnag.unkk.fr>=09<AAN LkTikGmtyrcpbEabBXZAo3ai=3Dz8082RBSrvKSQrzq6@mail.gmail.c om>=09<alpine.DEB.2.00.1012060855010.19637@tvnag.unkk.fr> =20<A6BF1C5A1E1A999D1A7D33E3@PST.JCK.COM>|In-Reply-To:=20 <A6BF1C5A1E1A999D1A7D33E3@PST.JCK.COM> |Content-Transfer-Encoding:=20quoted-printable; bh=g9e507Bn1NNKnZ4J2B2A156Cz/hxfiRYCgSN6V3DY30=; b=LUIjKqML4Oxv2d5HuNnMQkRrI0AdvuzkfQvZufi14lY8OE5ys8at9R62 /ywnNxkRTcP5xiGJNZ0TV1ab4fS/Gonc4nrFiZvKHIYToQirsaa/4G1iW freBtm2+QWWoiXV7Fg0cgSBXCLgE5JsZZ2HtQDg+0Y/3IbR7jbTONkr6u Lls7il267qCSWIV1sZtLWJKU4hO/83DOd3iEsDOR5dnN9K5JcHqX12OeO VCn3soaepb8taGRx94TrV0ZYkVrlw;
X-SBRSScore: None
X-IronPort-AV: E=Sophos;i="4.59,305,1288566000"; d="scan'208";a="53492218"
Received: from abgdgate40u.abg.fsc.net ([172.25.138.90]) by dgate20u.abg.fsc.net with ESMTP; 06 Dec 2010 16:34:37 +0100
X-IronPort-AV: E=Sophos;i="4.59,305,1288566000"; d="scan'208";a="106491202"
Received: from mch8469d.mch.fsc.net (HELO [172.25.52.240]) ([172.25.52.240]) by abgdgate40u.abg.fsc.net with ESMTP; 06 Dec 2010 16:34:37 +0100
Message-ID: <4CFD028C.6050105@ts.fujitsu.com>
Date: Mon, 06 Dec 2010 16:34:36 +0100
From: Richard Koenning <Richard.Koenning@ts.fujitsu.com>
Organization: Fujitsu Technology Solutions GmbH
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: de, de-nds, en, en-US, it
MIME-Version: 1.0
To: "ftpext@ietf.org" <ftpext@ietf.org>
References: <AANLkTi=_OsGPMsC=BHtOyHzTTM5vJ1=yW9fYk_Tp1xm7@mail.gmail.com> <alpine.DEB.2.00.1012011959520.21860@tvnag.unkk.fr> <AANLkTikGmtyrcpbEabBXZAo3ai=z8082RBSrvKSQrzq6@mail.gmail.com> <alpine.DEB.2.00.1012060855010.19637@tvnag.unkk.fr> <A6BF1C5A1E1A999D1A7D33E3@PST.JCK.COM>
In-Reply-To: <A6BF1C5A1E1A999D1A7D33E3@PST.JCK.COM>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Cc: Daniel Stenberg <daniel@haxx.se>
Subject: Re: [ftpext] End byte of transfer in FTP
X-BeenThere: ftpext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Richard.Koenning@ts.fujitsu.com
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: Mon, 06 Dec 2010 15:33:20 -0000

John C Klensin wrote:

> Yes.  I'm still not convinced trying to specify fragments of
> stream files is a good idea at all but, if it is to be done,
> let's do it with a new command and very clearly-specified
> semantics.  Remember that, if transfers are done in TYPE I, 
> 
> 	-- not only can one have any of the usual
> 	line-separation characters, but one can have other sorts
> 	of record markers or length-delimited lines or blocks.
> 	
> 	-- if Unicode is being sent consistent with the base
> 	spec), one gets internal storage forms (often UTF-16LE
> 	or UTF-16BE) not only UTF-8, and certainly does not get
> 	one octet per character.
> 
> So specifying fragments clearly is not a trivial piece of work
> unless the new command also requires a new file STRUcture
> variation.

I don't see a problem on FTP protocol level, with TYPE I the transfered 
data is an unstructured stream of bytes, in which REST currently defines 
a starting point and in which a RANGE specification would additionally 
define an endpoint.
FTP clients and servers operating on files which are not simply a stream 
of bytes but e.g. have some length-delimited record structure may have 
hard work to do, but this problem exists already with the current REST 
command.

-- 
Dr. Richard W. Könning
Fujitsu Technology Solutions GmbH