This preview shows page 1. Sign up to view the full content.
Unformatted text preview: operating systems at least provide notification that urgent data
has arrived on the control connection, allowing the server to then switch from handling the
data connection to the control connection.
One form of FTP is so popular that we'll show an example of it. It's called anonymous
FTP, and when supported by a server, allows anyone to login and use FTP to transfer files.
Vast amounts of free information are available using this technique.
How to find which site has what you're looking for is a totally different problem. We
mention it briefly in Section 30.4.
We'll use anonymous FTP to the site ftp.uu.net (a popular anonymous FTP site) to
fetch the errata file for this book. To use anonymous FTP we login with the username of
"anonymous" (you learn to spell it correctly after a few times). When prompted for a
password we type our electronic mail address. file:///D|/Documents%20and%20Settings/bigini/Docum.../homenet2run/tcpip/tcp-ip-illustrated/ftp_file.htm (20 of 24) [12/09/2001 14.47.49] Chapter 27. FTP: File Transfer Protocol sun % ftp ftp.uu.net
Connected to ftp.uu.net.
220 ftp.UU.NET FTP server (Version 2.0WU(13) Fri Apr 9
20:44:32 EDT 1993) ready.
Name (ftp.uu.net:rstevens): anonymous
331 Guest login ok, send your complete e-mail address as
we type firstname.lastname@example.org; it's not echoed
230230- Welcome to the UUNET archive.
230- A service of UUNET Technologies Inc, Falls Church,
230- For information about UUNET, call +1 703 204 8000, or
see the files
230- in /uunet-info
more greeting lines
230 Guest login ok, access restrictions apply.
change to the desired directory
ftp> cd published/books
250 CWD command
we'll transfer a binary file
200 Type set to I.
fetch the file
200 PORT command
150 Opening BINARY mode data connection for
stevens.tcpipivl.errata.Z (105 bytes).
(you may get a different file size)
226 Transfer complete,
local: stevens.tcpipivl.errata.Z remote:
View Full Document
- Spring '12