
Conner repeats the same basic steps as Keith had in Figure 8-11. However, instead of issuing a PUT command, Conner issues a GET command. In FTP lingo, PUT means to copy a file from the client to the serverin other words, to put it on the server. GET refers to copying a file from the server to the clientin other words, getting the file from the server.
The following list describes what happens with each of the four messages Conner sends in the figure:
|
1. |
Conner first sends the server his username, using the FTP USER command. This command allows Conner's FTP client software to supply a username to the FTP server for authentication. |
|
2. |
Next, Conner's FTP client uses the FTP PASS command to supply a corresponding password to the FTP server. At this point, the FTP server can decide whether Conner is a valid user of the FTP server. When the FTP server replies with an "FTP OK" message, it means that Conner has been authenticated.
|
|
3. |
Next, Conner's FTP client uses the FTP GET command to tell the server that Conner wants to get a copy of the file called file1.
|
|
4. |
Finally, the FTP server sends the actual contents of the file to Conner.
|
You should also note that the PUT and the GET commands simply copy the file, but they do not delete the file. For example, when Keith puts the file on the server (Figure 8-11), he actually copies the file, but the file (file1) is still on Keith's PC's disk drive. Similarly, when Conner gets the file in Figure 8-12, Conner copies the file, but the file is still on the FTP server.