FTP directory listing

e118 student e118-ak at euler.uucp
Fri Apr 14 11:10:08 AEST 1989


I have recently been using anonymous ftp to download files from the
fine folks at sumex-aim.stanford.edu, specifically the info-mac part.
Everything's wonderful, but there's a lot of good stuff there.  What
I would *like* to do is to port across a directory listing onto my
disk so I could peruse it at my leisure without running up connect
time across netland.  On my own machine, I would just say "ls -s -C"
to get name and filesize (in K) in multi-column mode.  However, when
I try this on the ftp connection, sumex thinks that "-s" is the file
I want listed and "-C" is the localfile in which I want to store the
output.  (They have a file listing the contents, but it is full of
info I don't need -- date of modification, size in bytes, etc. -- and
is thus several hundred K itself).

Can I get the ftp machine to recognize options on the "ls" or "mls"
command?  If I can get it to give me size in K, is there a unix command
I can use locally afterwards to intelligently multi-column it?

Please e-mail any helpful tips.

Thanks in advance,
-- Linc Madison = e118-ak at euler.berkeley.edu



More information about the Comp.unix.questions mailing list