Date : Sun, 28 Jul 1985 01:38:00 MDT
From : Keith Petersen <W8SDZ@SIMTEL20.ARPA>
Subject: Unix Program for Converting SIMTEL20 FTP Server Filenames
Many have complained that when getting (especially "mget"ing) files to
a Unix system from the SIMTEL20 FTP server, the resulting filenames are
not what would be desired. This problem is partially fixed by the
installation of a new FTP server that allows users to CWD (CD) to a
given directory for read access, so that the fully qualified file name
need not be sent back for each file gotten with an "mget".
However, even if you CWD to the directory before issuing an mget
command, the files will still show up with uppercase names and will
include "generation" (version) numbers. And of course, if you fail to
CWD first, you still get the directory name too, so that you are
likely to find files with names like
<UNIX.UTIL1>CRCK2.C.1
in your Unix directory, rather than the crck2.c you might have
wanted.
A new program, XXU.C (20-to-Unix filename converter), is available in
PS:<UNIX.UTIL1> which will fix the names of all files sent to a Unix
system from a DEC-20 FTP server. It should work on VMS and DEC-20
filenames alike -- it strips DECnet node names, device names,
directory names, generation numbers, and it lowercases the uppercase
letters. When renaming to the name thus formed, it takes care not to
write over any existing files. See comments in the source for further
details.
--Keith