Tải bản đầy đủ (.ppt) (48 trang)

Chuong 2 ftp tftp

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (981.34 KB, 48 trang )

Chapter 19

File Transfer:
FTP and TFTP
Objectives
Upon completion you will be able to:
• Understand the connections needed for FTP file transfer
• Be familiar with FTP commands and responses
• Know the differences between FTP and TFTP
• Be familiar with TFTP message types
• Understand TFTP flow and error control
TCP/IP Protocol Suite

1


19.1 FILE TRANSFER
PROTOCOL (FTP)
File Transfer Protocol (FTP) is the standard mechanism provided by
TCP/IP for copying a file from one host to another.

The topics discussed in this section include:
Connections
Communication
Command Processing
File Transfer
Anonymous FTP
TCP/IP Protocol Suite

2



Note:
FTP uses the services of TCP. It needs
two TCP connections.
The well-known port 21 is used for the
control connection and the well-known
port 20 for the data connection.

TCP/IP Protocol Suite

3


Figure 19.1

TCP/IP Protocol Suite

FTP

4


Figure 19.2

TCP/IP Protocol Suite

Opening the control connection

5



Figure 19.3

TCP/IP Protocol Suite

Creating the data connection

6


Figure 19.4

TCP/IP Protocol Suite

Using the control connection

7


Figure 19.5

TCP/IP Protocol Suite

Using the data connection

8


Figure 19.6


TCP/IP Protocol Suite

Command processing

9


Table 19.1 Access commands

TCP/IP Protocol Suite

10


Table 19.2 File management commands

TCP/IP Protocol Suite

11


Table 19.3 Data formatting commands

TCP/IP Protocol Suite

12


Table 19.4 Port defining commands


TCP/IP Protocol Suite

13


Table 19.5 File transfer commands

TCP/IP Protocol Suite

14


Table 19.5 File transfer commands (continued)

TCP/IP Protocol Suite

15


Table 19.6 Miscellaneous commands

TCP/IP Protocol Suite

16


Table 19.7 Responses

TCP/IP Protocol Suite


17


Table 19.7 Responses (continued)

TCP/IP Protocol Suite

18


Table 19.7 Responses (continued)

TCP/IP Protocol Suite

19


Table 19.7 Responses (continued)
Table 19.7 Responses (continued)

TCP/IP Protocol Suite

20



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×