In this section, we show the screen output for transferring the dstool source from an archive server using the ftp utility. The example shows a user name sunuser downloading the dstool distribution file into the subdirectory dstool of his home directory. The system prompt has been set to be the ``>'' character.
> cd ~ > mkdir dstool > cd dstool > ftp 128.84.237.12 Connected to 128.84.237.12. 220 macomb FTP server (SunOS 4.1) ready. Name (128.84.237.12:sunuser): anonymous 331 Guest login ok, send ident as password. Password: 230 Guest login ok, access restrictions apply. ftp> cd pub 250 CWD command successful. ftp> get dstool_1.0.tar 200 PORT command successful. 150 ASCII data connection for dstool_1.0.tar (128.84.237.8,3482) (581632 bytes). 226 ASCII Transfer complete. local: dstool_1.0.tar remote: dstool_1.0.tar 585590 bytes received in 6.5 seconds (88 Kbytes/s) ftp> quit 221 Goodbye. > tar -xvf dstool_1.0.tar x bin/install_dstool, 9026 bytes, 18 tape blocks x bin/install_dsuser, 4022 bytes, 8 tape blocks x install/Makefile, 556 bytes, 2 tape blocks x install/libtest.c, 6642 bytes, 13 tape blocks x install/dstool_1.0_src.tar.Z, 551493 bytes, 1078 tape blocks > ls bin/ dstool_1.0.tar install/ > cd bin > ls -l total 13 -r-xr-xr-x 1 sunuser 9026 Sep 26 08:25 install_dstool* -r-xr-xr-x 1 sunuser 4022 Sep 26 08:25 install_dsuser*