Re: [ftpext] draft-peterson-streamlined-ftp-command-extensions

"Mark P. Peterson" <mpp@rhinosoft.com> Mon, 29 November 2010 15:04 UTC

Return-Path: <prvs=1949d8c605=mpp@rhinosoft.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 F310528C121 for <ftpext@core3.amsl.com>; Mon, 29 Nov 2010 07:04:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.303
X-Spam-Level:
X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[AWL=0.296, 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 JM8lix04httQ for <ftpext@core3.amsl.com>; Mon, 29 Nov 2010 07:04:48 -0800 (PST)
Received: from rhinosoft.com (mail1.rhinosoft.com [97.88.242.106]) by core3.amsl.com (Postfix) with ESMTP id BF01E3A6BD3 for <ftpext@ietf.org>; Mon, 29 Nov 2010 07:04:48 -0800 (PST)
Received: from MPNOTEBOOK ([192.168.1.20]) (authenticated user mpp@rhinosoft.com) by rhinosoft.com (rhinosoft.com [127.0.0.1]) (MDaemon PRO v11.0.3) with ESMTP id md50009940591.msg for <ftpext@ietf.org>; Mon, 29 Nov 2010 09:05:56 -0600
X-Spam-Processed: rhinosoft.com, Mon, 29 Nov 2010 09:05:56 -0600 (not processed: spam filter heuristic analysis disabled)
X-Authenticated-Sender: mpp@rhinosoft.com
X-MDRemoteIP: 192.168.1.20
X-Return-Path: prvs=1949d8c605=mpp@rhinosoft.com
X-Envelope-From: mpp@rhinosoft.com
X-MDaemon-Deliver-To: ftpext@ietf.org
Message-ID: <19F9469141E34A4D9C8ECDE7FBADB20E@rhinooffice.net>
From: "Mark P. Peterson" <mpp@rhinosoft.com>
To: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>, ftpext@ietf.org
References: <AANLkTi=pBbGPtyjuU6NF32bRK3nz3i2k3ugDtCjF0SAS@mail.gmail.com>
In-Reply-To: <AANLkTi=pBbGPtyjuU6NF32bRK3nz3i2k3ugDtCjF0SAS@mail.gmail.com>
Date: Mon, 29 Nov 2010 09:05:54 -0600
Organization: Rhino Software, Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Subject: Re: [ftpext] draft-peterson-streamlined-ftp-command-extensions
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: Mon, 29 Nov 2010 15:04:50 -0000

Hi Tatsuhiro,

Thank you for replying.

> If a directory specified in DSIZ command contains symbolic links,
> does this command calculate linked target file, or just size of a
> symbolic link file itself?

That's an implementation decision for the server.  It can go either way, 
and could be configurable by the server administrator.

> Also, if a symbolic link 'foolink' which links to directory foo is
> given in DSIZ command, does server returns 550 error because
> it is not directory?

This is also an implementation decision that could go either way.

> About phrase "the number of octets occupied by the files":...

It is the actual number of bytes in the files, not the number of
bytes used by the underlying OS.


Mark P. Peterson - President
http://www.RhinoSoft.com
Voice: +1(262) 560-9627
FAX: +1(262) 560-9628  


--------------------------------------------------
From: "Tatsuhiro Tsujikawa" <tatsuhiro.t@gmail.com>
Sent: Sunday, November 28, 2010 3:40 AM
To: <ftpext@ietf.org>
Subject: [ftpext]  draft-peterson-streamlined-ftp-command-extensions

Hi,

> DSIZ command

If a directory specified in DSIZ command contains symbolic links,
does this command calculate linked target file, or just size of a
symbolic link file itself?

Also, if a symbolic link 'foolink' which links to directory foo is
given in DSIZ command,
does server returns 550 error because it is not directory?

>DSIZ command should not consider this in its response, instead
> leaving it up to the underlying file system to determine the number
> of octets occupied by the files.

About phrase "the number of octets occupied by the files":
Some file systems(e.g. ext4) supports sparse file, and
space that those files actually occupy are sometimes much more smaller than
 'ls' shows its file size. For those files, does DSIZ return the octets occupied
by the files? I think if the user use DSIZ instead of recursive SIZE command,
they want file size normally shown by 'ls', not occupied octets in file system.

Sorry if this has been discussed already.

Best regards,

Tatsuhiro Tsujikawa
_______________________________________________
ftpext mailing list
ftpext@ietf.org
https://www.ietf.org/mailman/listinfo/ftpext