Here is a transcript of a session which the remote user rubin
had with NCSA, the National Center for Supercomputing Applications.
This is a good example because NCSA permits anyone to sign onto their
computers as the user anonymous, then enter anything as a
password (they prefer your Internet address for identification), then
browse through their files for software and documentation of interest,
and then copy the software and documentation to your home computer.
This is also a good idea because the programs are state of the art,
supported, and free.
% ftp ftp.ncsa.uiuc.edu You issue the ftp command. Connected to zaphod.ncsa.uiuc.edu. Now wait. 220 zaphod FTP server ready. Name:anonymous Rubin enters anonymous. 331 Send email alias as pw Password:firstname.lastname@example.org 230 Guest login ok, access restrictions apply. Barely in. ftp> ls Rubin asks to see what's there. HDF INDEX Mac PC Unix README.FIRST Samples Etc. 226 Transfer complete. ftp> get README.FIRST Always read this first. 200 PORT command successful. 150 Opening ASCII mode data connection for README.FIRST (15465 bytes). 226 Transfer complete. 15868 bytes received in 4.599 seconds (3.369 Kbytes/s) ftp> ls -l Rubin asks for long list. 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls (0 bytes). total 106 -rw-rw-r- 1 ftp 53230 Aug 5 14:39 INDEX drwxrwxr-x 16 102 512 Aug 30 16:14 Samples -rw-rw-r- 1 ftp 15465 Aug 8 13:41 README 226 Transfer complete. ftp> mget INDEX README Mulitple get of two files. 200 PORT command successful. 150 Opening ASCII mode data connection for INDEX (53230 bytes). 226 Transfer complete. That's one. 150 Opening ASCII mode data connection for README (23968 bytes). 226 Transfer complete That's two. 24377 bytes received in 5.516 seconds (4.316 Kbytes/s) type binary To transfer non text files. ftp> cd Samples 250 CWD command successful. ftp> type binary Set to transfer binary file. 200 Type set to I. ftp's reassurance. ftp> get jet2.hdf 200 PORT command successful. 150 Opening BINARY mode data connection for jet2.hdf (121010 bytes). 226 Transfer complete. 121010 bytes received in 109.4 seconds (1.08 Kbytes/s) ftp> type ASCII Set back to ASCII. 200 Type set to A. ftp's reassurance. ftp> quit Goodbye.