© 2010 Computer Science Faculty, Kabul University FTP AND ELECTRONICE MAIL 5 TH LECTURE 4, May, 2010 Baseer Ahmad Baheer.

Slides:



Advertisements
Similar presentations
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Advertisements

World Wide Web Basics Original version by Carolyn Watters (Dalhousie U. Computer Science)
1 Electronic Mail u Three major components: u user agents u mail servers u simple mail transfer protocol: SMTP u User Agent u a.k.a. “mail reader” u composing,
TCP/IP Protocol Suite 1 Chapter 20 Upon completion you will be able to: Electronic Mail: SMTP, POP, and IMAP Understand four configurations of architecture.
CPSC 441: FTP & SMTP1 Application Layer: FTP & Instructor: Carey Williamson Office: ICT Class.
Chapter 2: Application layer  2.1 Web and HTTP  2.2 FTP 2-1 Lecture 5 Application Layer.
Electronic Mail and SMTP
Chapter 2: Application layer  2.1 Web, HTTP and HTML (We will continue…)  2.2 FTP  2.3 SMTP 9/22/2009 Lecture 7, MAT 279, Fall
Chapter 30 Electronic Mail Representation & Transfer
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
Simple Mail Transfer Protocol
Architecture of SMTP, POP, IMAP, MIME.
Introduction 1 Lecture 7 Application Layer (FTP, ) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
Mail Server Fitri Setyorini. Content SMTP POP3 How mail server works IMAP.
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
FTP File Transfer Protocol. Introduction transfer file to/from remote host client/server model  client: side that initiates transfer (either to/from.
2: Application Layer1 Chapter 2 Application Layer These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
Electronic Mail (SMTP, POP, IMAP, MIME)
1 What is Electronic Mail Exchanging information via computer networks Electronic mail addresses SMTP (Simple Mail Transfer Protocol) Client/Server based.
SMTP, POP3, IMAP.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
CSE401N: Computer Networks Lecture-5 Electronic Mail S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Review: –How do we address “a network end-point”? –What services are provided by the Internet? –What is the network logical topology observed by a network.
Application Layer Protocols Simple Mail Transfer Protocol.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
© 2010 Computer Science Faculty, Kabul University ELECTRONICE MAIL CONTINUED… 6 TH LECTURE 9, May, 2010 Baseer Ahmad Baheer.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
1 Applications Electronic Mail. 2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail.
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Computer Networks26-1 Chapter 26. Remote Logging, Electronic Mail and File Transfer.
FTP (File Transfer Protocol) & Telnet
Simple Mail Transfer Protocol (SMTP)
Web Technology. History of the Internet Internet was developed by ARPANet in ARPANet (American Research Project Agency Network)
What is and How Does it Work?  Electronic mail ( ) is the most popular use of the Internet. It is a fast and inexpensive way of sending messages.
File Transfer Protocol (FTP)
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Concepts  messages are passed through the internet by using a protocol called simple mail transfer protocol.  The incoming messages are.
TFTP: Trivial file transfer protocol
© 2010 Computer Science Faculty, Kabul University HTTP CONTINUED… 4 TH LECTURE 2, May, 2010 Baseer Ahmad Baheer.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
CS440 Computer Networks 1 Neil Tang 12/01/2008.
Slides based on Carey Williamson’s: FTP & SMTP1 File Transfer Protocol (FTP) r FTP client contacts FTP server at port 21, specifying TCP as transport protocol.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
More TCP/IP Protocols Chapter 6. TCP Transmission Control Protocol Connection-oriented Provides flow control Sequencing (putting the segments back in.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
World Wide Web r Most Web pages consist of: m base HTML page, and m several referenced objects addressed by a URL r URL has two components: host name and.
COMP 431 Internet Services & Protocols
1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)
Ch 2. Application Layer Myungchul Kim
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Dr. Adil Yousif University of Alneelian – Master of CS - IT Electronic Mail.
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
Remote Logging, Electronic Mail, and File Transfer
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Some bits on how it works
Simple Mail Transfer Protocol
Chapter 2: Application layer
Remote Logging, Electronic Mail,
The Application Layer: SMTP, FTP
Chapter 7 Network Applications
Chapter 2 Application Layer
Computer Networks Protocols
Presentation transcript:

© 2010 Computer Science Faculty, Kabul University FTP AND ELECTRONICE MAIL 5 TH LECTURE 4, May, 2010 Baseer Ahmad Baheer

© 2010 Computer Science Faculty, Kabul University FTP (File Transfer Protocol) FTP (File Transfer Protocol) is a protocol for transferring a file from one host to another host.

© 2010 Computer Science Faculty, Kabul University In order for the user to access the remote account, the user must provide a user identification and a password.

© 2010 Computer Science Faculty, Kabul University HTTP and FTP are both file transfer protocols FTP uses two parallel TCP connections to transfer a file, a control connection and a data connection. Server: FileZilla

© 2010 Computer Science Faculty, Kabul University

FTP Stateful It have to keep track of user state. HTTP Stateless It does not have to keep track of any user state.

© 2010 Computer Science Faculty, Kabul University FTP Commands and Replies USER username : Used to send the user identification to server. PASS password : Used to send the user password to the server. LS : Used to ask the server to send back a list of all the files in the current remote directory. GET filename : Used to retrieve (i.e., get) a file from the current directory of the remote host. PUT filename : Used to store (i.e., put) a file into the current directory of the remote host.

© 2010 Computer Science Faculty, Kabul University

ELECTRONIC MAIL IN THE INTERNET

© 2010 Computer Science Faculty, Kabul University Along with the Web, electronic mail is one of the most popular Internet applications. Just like ordinary "snail mail," is asynchronous -- people send and read messages when it is convenient for them, without having to coordinate with other peoples' schedules.

© 2010 Computer Science Faculty, Kabul University Three Components: 1.User Agents/Mail Readers 2.Mail Servers 3.Simple Mail Transfer Protocol Three Components: 1.User Agents/Mail Readers 2.Mail Servers 3.Simple Mail Transfer Protocol

© 2010 Computer Science Faculty, Kabul University TCP connection on port 25

© 2010 Computer Science Faculty, Kabul University An example transcript between client (C) and server (S), as soon as TCP connection established SMTP uses persistent connections

© 2010 Computer Science Faculty, Kabul University SMTP and HTTP both protocols are used to transfer files from one host to another.

© 2010 Computer Science Faculty, Kabul University HTTP Is principally a pull protocol HTTP encapsulates each object in its own HTTP response message. SMTP Is primarily a push protocol SMTP requires each message, including the body of each message, to be in seven-bit ASCII format. Internet mail, places all of the message's objects into one message.

© 2010 Computer Science Faculty, Kabul University Mail Message Formats Every header must have From: header line and a To: header line A header may include a Subject: header line as well as other optional header lines. A typical message header looks like this:

© 2010 Computer Science Faculty, Kabul University The MIME Extension for Non-ASCII Data Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of to support: Text in character sets other than ASCII Non-text attachments Message bodies with multiple parts Header information in non-ASCII character sets

© 2010 Computer Science Faculty, Kabul University Two key MIME headers for supporting multimedia are the

© 2010 Computer Science Faculty, Kabul University

Base64

© 2010 Computer Science Faculty, Kabul University text/plain, text/html image/jpeg, image/gif application/msword multipart/mixed Video/format Audio/format

© 2010 Computer Science Faculty, Kabul University

References MIME, MIME Types By Content Type,