Re: [ftpext] New Version of FTP HASH, RANG, LOCK, and HOST

Ángel González <keisial@gmail.com> Sun, 27 January 2013 21:22 UTC

Return-Path: <keisial@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 0E6C521F874F for <ftpext@ietfa.amsl.com>; Sun, 27 Jan 2013 13:22:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.914
X-Spam-Level:
X-Spam-Status: No, score=-0.914 tagged_above=-999 required=5 tests=[AWL=2.385, BAYES_00=-2.599, 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 AXW-BT4cuqYF for <ftpext@ietfa.amsl.com>; Sun, 27 Jan 2013 13:22:07 -0800 (PST)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by ietfa.amsl.com (Postfix) with ESMTP id 2E83A21F841B for <ftpext@ietf.org>; Sun, 27 Jan 2013 13:22:07 -0800 (PST)
Received: by mail-wg0-f50.google.com with SMTP id es5so1353340wgb.29 for <ftpext@ietf.org>; Sun, 27 Jan 2013 13:22:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=iUwWl4O2pClVeWqfXQKYBHGG7KUq1Ydn2uxglc2OWH4=; b=OWgtyXfZYI3LZASIAm1cqmi343EmK+fD6n+1xRiYwsFmPt+P4VsCaoRInZgsb/T2hY u2omttsGFv1T1SfCdTxfEtg9xMJUwSTwIg8sQy/MqG3T/ReZJSDBT/XXIJ7usPrc/oCr dnkq9YiQw9H8NmtI8D3LvraEwo0gcT8NI7Io1KWaP74FW63LEsi6JdfxMzAjeKpGfgVm MTGosW8lAgIhZFhVEY4Q8U/jcrHsVJE4kFmch9H20/MRcb8L6drxDjs6z2MVq2Bs4FTw jWJ+tR0npeJbndCatSBrHTkQUDqOqWdQTwgjhTeOQm1nbkyDh2AbSZxC2KYJE+wwxzT4 e0nA==
X-Received: by 10.194.240.233 with SMTP id wd9mr17790247wjc.54.1359321726374; Sun, 27 Jan 2013 13:22:06 -0800 (PST)
Received: from [192.168.1.26] (117.red-80-28-65.adsl.dynamic.ccgg.telefonica.net. [80.28.65.117]) by mx.google.com with ESMTPS id cu7sm9157605wib.8.2013.01.27.13.22.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Jan 2013 13:22:05 -0800 (PST)
Message-ID: <51059A0E.4020001@gmail.com>
Date: Sun, 27 Jan 2013 22:20:14 +0100
From: Ángel González <keisial@gmail.com>
User-Agent: Thunderbird
MIME-Version: 1.0
To: Alun Jones <alun@texis.com>
References: <CANqTPegPaMBF9i1gi+M3m5FXzuxRzUU_QULxB_sdJTVd7NGppQ@mail.gmail.com> <51009243.4080809@gmail.com> <51056391.2070901@gmail.com> <03ec01cdfcbc$b247bef0$16d73cd0$@texis.com>
In-Reply-To: <03ec01cdfcbc$b247bef0$16d73cd0$@texis.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: ftpext@ietf.org
Subject: Re: [ftpext] New Version of FTP HASH, RANG, LOCK, and HOST
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: Sun, 27 Jan 2013 21:22:08 -0000

On 27/01/13 19:32, Alun Jones wrote:
> This has an obvious problem - what if the size of the file changes during
> the transfer?
>
> There are many uses of FTP (webcam being the one that comes immediately to
> mind) where a "file" is retrieved, and is handled as if it is a
> potentially-infinite stream. We have a webcam at work that encodes video as
> an animated GIF that never ends. Doesn't display in Internet Explorer,
> because IE is paranoid, but it's a use-case that should be considered. The
> boundary method works for this use, where the size method doesn't.
>
> Alun.
> ~~~~
Probably due to the reference to MIME, I was thinking in multiple chunks
with
a size attached, not in one big chunk with the size. In the later case,
it would
be possible (assuming it doesn't shrink below what you have already
committed
to send).