From owner-freebsd-questions Mon Oct 26 03:58:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01170 for freebsd-questions-outgoing; Mon, 26 Oct 1998 03:58:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wph.bbs.edu.cn (dialuser156.gb.com.cn [203.93.18.156]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01158 for ; Mon, 26 Oct 1998 03:58:44 -0800 (PST) (envelope-from peihanw@mx.cei.gov.cn) Received: from mx.cei.gov.cn (localhost [127.0.0.1]) by wph.bbs.edu.cn (8.8.8/8.8.7) with ESMTP id TAA01134 for ; Mon, 26 Oct 1998 19:59:54 +0800 (CST) (envelope-from peihanw@mx.cei.gov.cn) Message-ID: <36346432.2DE86605@mx.cei.gov.cn> Date: Mon, 26 Oct 1998 19:59:46 +0800 From: Peihan Wang X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: size command under ftp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running an ftp server under FreeBSD 2.2.6. When I do the following there is something strange. $ ftp localhost ... (omit login process) ftp> cd pub ftp> ls total 656 -rw-r--r-- 1 root operator 321381 Sep 5 04:05 mc-4.1.31.tgz ftp> size mc-4.1.31.tgz mc-4.1.31.tgz 322545 ftp> quit $ Why does 'ls' says the file size is 321381 while 'size' indicates that the file is 322545 bytes long ??? Who can account for it? Thanx. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message