Example of Downloading Files

This section provides an example FTP session of downloading files.

Here is an example of an FTP session that downloads files from a FTP server machine:

>ftp webserver
Connected to webserver.
220 Microsoft FTP Service
User (localhost:(none)): herong
331 Password required for herong.
Password: ********
230 User herong logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
   11:05PM                 5537 ftp.html
   03:43PM                 5082 index.html
   08:39PM                 1174 reference.html
226 Transfer complete.
ftp: 155 bytes received in 0.00Seconds 155000.00Kbytes/sec.
ftp> mget *.*
200 Type set to A.

mget ftp.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for ftp.html(5537 bytes).
226 Transfer complete.
ftp: 5537 bytes received in 0.01Seconds 553.70Kbytes/sec.

mget index.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for index.html(5082 bytes).
226 Transfer complete.
ftp: 5082 bytes received in 0.01Seconds 508.20Kbytes/sec.

mget reference.html? y
200 PORT command successful.
150 Opening ASCII mode data connection for reference.html(1174 bytes).
226 Transfer complete.
ftp: 1174 bytes received in 0.00Seconds 1174000.00Kbytes/sec.
ftp> quit
221

Notice that the "mget" command allows you to get multiple files with one command.

Table of Contents

 About This Book

 2002 - .NET Framework Developed by Microsoft

 1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf

 1995 - Java Language Developed by Sun Microsystems

 1991 - WWW (World Wide Web) Developed by Tim Berners-Lee

 1991 - Gopher Protocol Created by a University of Minnesota Team

 1984 - X Window System Developed a MIT Team

 1984 - Macintosh Developed by Apple Inc.

 1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman

 1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer

 1978 - Bash (Bourne-Again Shell) Developed by Brian Fox

 1978 - The C Shell Developed by Bill Joy

 1977 - The Bourne Shell Developed by Stephen Bourne

 1977 - Apple II Designed by Steve Jobs and Steve Wozniak

 1976 - vi Text Editor Developed by Bill Joy

 1974 - Internet by Vinton Cerf

 1972 - C Language Developed by Dennis Ritchie

1971 - FTP Protocol Created by Abhay Bhushan

 What Is FTP

Example of Downloading Files

 Example of Uploading Files

 Anonymous FTP Servers

 FTP Client Program Standard Commands

 1970 - UNIX Operating System Developed by AT&T Bell Labs

 1957 - FORTRAN Language Developed by IBM

 References

 Full Version in PDF/EPUB