This is our project for educational purposes.
- File Tranfer Protocol
- Port 21 for issuing commands. For example:
C:\Users\PC>ftp
ftp> help
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp> quit
C:\Users\PC>
- Port 20 for tranfering files during active mode session.
For example,
get <filename>is downloading<filename>from server.put <filename>is uploading<filename>to server.
Xem thêm tại:
Sử dụng socket - kết nối TCP. Giao diện gồm mấy thứ tạm tạm như này.
- Port 21
- Port 21
- Port 21 - Gọi hàm xử lý
- Port 20 - Truyền file
- Port 21 - Gọi hàm xử lý
- Port 20 - Truyền file
- Port 21
Server listen Client -> nếu có yêu cầu kết nối
- Kiểm tra đăng nhập
- Gửi message cho client
FTP có 3 phương thức truyền dữ liệu là : stream mode, block mode và compressed mode
Xem thêm tại: https://luanvan.net.vn/luan-van/do-an-tim-hieu-ve-giao-thuc-ftp-32410/



