[net.micro.cpm] Unix Program for Converting SIMTEL20 FTP Server Filenames

W8SDZ@SIMTEL20.ARPA (Keith Petersen) (07/29/85)

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

W8SDZ@SIMTEL20.ARPA (Keith Petersen) (07/29/85)

    I just tried to grab xxu.c from simtel20, and it claims that
    PS:<UNIX.UTIL1> doesn't exist.  <UNIX.UTIL> also doesn't exist,
    and while <UNIX> does, xxu.c isn't in it.

My appologies to all.  I left out once character in the directory
name.  It should be:

Filename			Type	 Bytes	 CRC

Directory PS:<UNIX.UTILS1>
XXU.C.2				ASCII	  3970  D609H

--Keith