RCS users sometimes find it helpful to use anonymous FTP to retrieve files from sites outside Rensselaer. The following sample session illustrates the commands a user might enter to use FTP from a UNIX system and connect anonymously to ftp.microsoft.com to obtain a file from the Softlib directory.
In the following example, computer responses/messages appear in typewriter type; items shown in bold indicate commands entered by the user; and hints to guide you along appear in italics. This sample session incorporates the ftp, ls, cd, and get commands.
Sample Session
(1) ftp ftp.microsoft.com Connected to ftp.microsoft.com. 220 ftp Microsoft FTP Service (Version 3.0). Name (ftp.microsoft.com:wentod): anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. Password: 230-This is FTP.MICROSOFT.COM 230-Please see the dirmap.txt file for 230-more information. An alternate 230-location for Windows NT Service 230-Packs is located at: 230-ftp://198.105.232.37/fixes/ 230 Anonymous user logged in. ftp> cd Softlib 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. ---------- 1 owner group 171179 Aug 20 3:02 index.txt d--------- 1 owner group 0 Aug 20 3:04 MSLFILES ---------- 1 owner group 2763 Jul 12 1996 README.TXT ---------- 1 owner group 440851 Aug 20 3:02 SOFTLIB.EXE ---------- 1 owner group 48654 Dec 21 1994 WDL.TXT 226 Transfer complete. (The index.txt and README.TXT files contain, respectively, a complete list of all of the Microsoft Software Library (MSL) files, and a brief explanation of how to use the other items listed in the files in the MSLFILES directory. Use the get command to retrieve these two text files.) ftp> get index.txt 200 PORT command successful. 150 Opening ASCII mode data connection for index.txt(171179 bytes). 226 Transfer complete. 171179 bytes received in 223.6 seconds (0.7476 Kbytes/s) local: index.txt remote: index.txt ftp> get README.TXT 200 PORT command successful. 150 Opening ASCII mode data connection for README.TXT(2763 bytes). 226 Transfer complete. 2763 bytes received in 4.576 seconds (0.5896 Kbytes/s) local: README.TXT remote: README.TXT (Take a few moments to carefully review these two files once you have downloaded them; as theREADME.TXT file states, the MSLFILES directory contains a very large number of files and can take several minutes to display the entire list, so please DO NOT enter a dir command at this point. Instead, first decide which files you want by going through the list in the index.txt file, and then proceed as below.) ftp> cd MSLFILES 250 CWD command successful. (For this example, let's say you decide to FTP the file wdtlupd.EXE, which contains Word 97 Template files. Since this is a non-text file, you will need to use the binary command to set the correct transport mode.) ftp> binary 200 Type set to I. ftp> get wdtlupd.EXE 200 PORT command successful. 150 Opening BINARY mode data connection for wdtlupd.exe(664800 bytes). 226 Transfer complete. 664800 bytes received in 774.2 seconds (0.8385 Kbytes/s) local: wdtlupd.exe remote: wdtlupd.exe ftp> quit 221 Thank you for using FTP.MICROSOFT.COM!
HINT: Enter a question mark (?) at the ftp> prompt to see a list of available FTP commands.