Bài giảng Mạng máy tính: Chương 2b - Đoàn Thị Thu Hà

Bài giảng Mạng máy tính chương 2b trình bày đến người học những nội dung kiến thức sau: File Transfer Protocol, Electronic Mail Protocols, Domain Name System,. để nắm bắt các nội dung chi tiết. | Chương 2 (tiếp). Giao thức tầng ứng dụng (application layer) Đoàn Thị Thu Hà Discussion Web programming with ASP. Visual Basic programming. Object oriented programming. Event driven programming. Component driven programming. TCP Socket programming. Simple web server. 1-6/2005 Ch2. The Application Layer . Một số khái niệm và nguyên tắc. . Web & Hyper Text Transfer Protocol. . Web design and HTTP, Web programming. . File Transfer Protocol. . Electronic Mail Protocols. . Domain Name System. 1-6/2005 . FTP - File Transfer Protocol Truyền/tải tệp (to/from remote host). Client/server model Client: đưa ra yêu cầu truyền tải. Server = remote host. FTP: RFC 959 file transfer FTP server FTP user interface FTP client local file system remote file system user at host 1-6/2005 FTP: control & data connections FTP sử dụng TCP. FTP sử dụng đồng thời 2 liên kết TCP tại 2 cổng: TCP control connection, port 21: trao đổi các thông điệp điều khiển (commands, responses ). . | Chương 2 (tiếp). Giao thức tầng ứng dụng (application layer) Đoàn Thị Thu Hà Discussion Web programming with ASP. Visual Basic programming. Object oriented programming. Event driven programming. Component driven programming. TCP Socket programming. Simple web server. 1-6/2005 Ch2. The Application Layer . Một số khái niệm và nguyên tắc. . Web & Hyper Text Transfer Protocol. . Web design and HTTP, Web programming. . File Transfer Protocol. . Electronic Mail Protocols. . Domain Name System. 1-6/2005 . FTP - File Transfer Protocol Truyền/tải tệp (to/from remote host). Client/server model Client: đưa ra yêu cầu truyền tải. Server = remote host. FTP: RFC 959 file transfer FTP server FTP user interface FTP client local file system remote file system user at host 1-6/2005 FTP: control & data connections FTP sử dụng TCP. FTP sử dụng đồng thời 2 liên kết TCP tại 2 cổng: TCP control connection, port 21: trao đổi các thông điệp điều khiển (commands, responses ). TCP data connection, port 20: truyền tải tệp. FTP lưu giữ trạng thái client trong phiên làm việc (state vs. HTTP is stateless). FTP client FTP server TCP control connection port 21 TCP data connection port 20 1-6/2005 FTP: Quá trình trao đổi/truyền tải FTP server nghe tại cổng 21. FTP client yêu cầu kết nối với FTP server qua TCP tại cổng 21. Gửi user & password để đăng nhập. FTP server chấp nhận, liên kết điều khiển (control connection) được thiết lập. Quá trình trao đổi có thể bắt đầu. Khi server nhận được lệnh truyền tệp, nó mở liên kết dữ liệu (data connection) tới client, tệp được truyền qua liên kết này. Sau khi truyền xong một tệp, server ngắt liên kết dữ liệu (mỗi liên kết chỉ sử dụng để truyền một tệp). client server TCP control connection port 21 TCP data connection port 20 1-6/2005 FTP commands, responses Sample commands: sent as ASCII text over control channel USER username PASS password LIST return list of file in current directory RETR filename retrieves (gets) .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
8    91    2    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.