Introduction to networking - Ch.3.2 Application Layer, FTP, SMTP, POP and IMAP
FTP: File transfer protocolIntroduction to networking
- Transfer file to/from remote host

- Client-server model
- RFC 959
- FTP port 21
- Use TCP transport protocol
- Out of band design - Two connection: data connection and control connection
FTP command
- User
- PASS
- List - List directory
- RETR
- gets file - STOR
- puts file
Email 3 major components
- User agents -> mail reader, E.g. Outlook express, Thunderbird
- Mail servers -> Mailbox, message queue
- SMTP - Simple Mail Transfer Protocol -> Send and receive email, port 25
SMTP lab
- telnet
25
SMTP support
SMTP only support Text- How to send image / files ? Use MIME - multimedia mail extension
Mail Access protocol
Download email from server to client
- Mail access protocol: retrieval from server
- POP: Post Office Protocol [RFC 1939] • authorization (agent <-->server) and download
- IMAP: Internet Mail Access Protocol [RFC 1730] • more features (more complex) • manipulation of stored msgs on server
- HTTP: gmail, Hotmail, Yahoo! Mail, etc. (Webmail)