Beruflich Dokumente
Kultur Dokumente
File Transfer Access Method (FTAM), also known as File Transfer Access and Management or
Electronic File Transfer Access Method (EFTAM), is anISOstandard (8571) that specifies methods
of transferingfiles between networked computers. FTAM is based on the Open Systems
Interconnection (OSI) model and is similar to File Transfer Protocol (FTP) and Network File System
(NFS).
FTAM can be broken down into functional categories known as service classes, as follows:
Transfer class, which facilitates the simple exchange of files.
Management class, which facilitates the creation, modification and deletion of files.
Transfer-and-management class, which facilitates directory navigation and manipulation.
Access class, which facilitates operations on file access structures.
Chapter 2: Application
layer
2.1 Principles of
network applications
2.2 Web and HTTP
2.3 FTP
2.4 Electronic Mail
2.7 Socket
2.5 DNS
2: Application2 Layer
Electronic Mail
outgoing
message queue
user mailbox
user
agent
user agents
mail
server
mail servers
simple mail transfer protocol:
user
agent
SMTP
mail
server
SMTP
SMTP
User Agent
a.k.a. mail reader
SMTP
messages
user
agent
Mozilla Thunderbird
outgoing, incoming messages
user
agent
mail
server
stored on server
user
agent
user
agent
2: Application3 Layer
user
agent
mail
server
user
agent
SMTP
mail
server
SMTP
SMTP
user
agent
mail
server
user
agent
user
agent
2: Application4 Layer
user
agent
port 25
direct transfer: sending server to receiving server
three phases of transfer
handshaking (greeting)
transfer of messages
closure
command/response interaction
2: Application5 Layer
1
user
agent
mail
server
mail
server
2
2: Application6 Layer
user
agent
220 hamburger.edu
HELO crepes.fr
250 Hello crepes.fr, pleased to meet you
MAIL FROM: <alice@crepes.fr>
250 alice@crepes.fr... Sender ok
RCPT TO: <bob@hamburger.edu>
250 bob@hamburger.edu ... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
Do you like ketchup?
How about pickles?
.
250 Message accepted for delivery
QUIT
221 hamburger.edu closing connection
2: Application Layer
header
body
blank
line
type
Types: Uuencode, base64, Quoted-printable
MIME version
method used
to encode data
multimedia data
type, subtype,
parameter declaration
From: alice@crepes.fr
To: bob@hamburger.edu
Subject: Picture of yummy crepe.
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Type: image/jpeg
base64 encoded data .....
.........................
......base64 encoded data
encoded data
2: Application9 Layer
MIME
10
SMTP
user
agent
senders mail
server
receivers mail
server
access
protocol
user
agent
12
POP3 protocol
S: +OK POP3
authorization phase
client commands:
numbers
retr: retrieve message by
number
dele: delete
quit
server ready
C:
S:
C:
S:
user bob
+OK
pass hungry
+OK user successfully
C:
S:
S:
S:
C:
S:
S:
C:
C:
S:
S:
C:
C:
S:
list
1 498
2 912
.
retr 1
<message 1 contents>
.
dele 1
retr 2
<message 1 contents>
.
dele 2
quit
+OK POP3 server signing off
2: Application13Layer
logged on
IMAP
he changes client
Download-and-keep:
copies of messages on
different clients
POP3 is stateless across
sessions
messages in folders
IMAP keeps user state
across sessions:
names of folders and
mappings between
message IDs and folder
name
2: Application14Layer
Data Flow
FTP and HTTP: pull (user
requests files)
SMTP: push (email sent to
receiver without request,
result can be spam!)
15