Sun, 1 Aug 1999 17:19:25 -0700
|
On Sun, 25 Jul 1999, Paul Shapiro wrote:
[re: INDEX command reporting a variable record length]
> Wouldn't it make for "better" file managment if all the files had a
> constant record length, such as 60 or 80 or somesuch?
Related to this question is how should an FTP client (or even a mere
mortal), when connecting to a VM/CMS server, determine the true file size
(in bytes) of any of the files?
Scenario:
1. open an anonymous FTP connection to BROWNVM.BROWN.EDU
2. CD to LISTSERV.1AC
3. DIR
Output:
[...]
fn ft f/v rcl nrecs ? last modified date
-------- ------ - -- --- - ------- --------
NAUSICAA DIGEST V 79 244 2 8/01/99 20:00:47
[...]
NAUSICAA LOG9908A V 79 266 3 8/01/99 20:00:47
[...]
Where:
fn = file name
ft = file type
f/v = fixed/variable record length
rcl = record length
nrecs = number of records
? = (what is this column?)
From this data, how do I come up with the true file size after downloading
(which is 7,943 bytes for NAUSICAA.DIGEST and 10,841 bytes for
NAUSICAA.LOG9908A)?
Thanks,
--
Michael S. Johnson Miyazaki Web and Mailing List Owner
[log in to unmask] www.nausicaa.net/miyazaki/mailing-list
|
|
|