FTP <node>
Unless you have an entry in your .netrc file you are prompted for account and password, then type:
put <unixfile> <remotefile> get <remotefile> <unixfile> quitNote that under UNIX filenames are case-sensitive. Lower case is recommended.
Useful features of UNIX FTP are file name mapping and multiple file transfer, e.g. fetching source files from VMS:
ftp fritz cd flib_aix # FORTRAN sources after FoFo conversion case # toggles case mapping (initially OFF) prompt # toggles prompting of each file name (initially ON) nmap $1;$2 $1 # to strip off VMS version numbers mget *.f # get all converted AIX FORTRAN sources quitor sending source files to MVS:
ftp mvs cd mylib.fort # mylib.fort should be a PDS prompt # toggles prompting of each file name (initially ON) nmap $1.f $1 # PDS members have no individual extension mput *.f # e.g.: xyz.f -> mylib.fort(xyz) quit
fopi
Tue May 28 15:33:35 CST 1996