INFS2052
Internet and Intranet Information Systems

lecture notes 1-2
Introduction to an Application - FTP

Reading:

Tanenbaum chapter 1 up to section 1.5 (inclusive)

Application level communications are nearly always asymmetrical between two communicating entities: one is a client of the other's services -
client/server architecture

Tanenbaum fig 1-1

Client-server architecture

A server may serve many client simultaneously.

A service may

File transfer application

File transfer applications are very old and very stable

The client requests

The server supplies

Also: the client can set
file transfer mode (binary or ASCII)
timeout values for recovery of lost data

Protocols

The client and server communicate by a protocol.

protocol A strict set of rules that govern the exchange of information between computer devices.
[Nader, Prentice-Hall Dictionary of Computing]

A set of semantic and syntactic rules that determines the behaviour of functional units in achieving communication. [ISO]

Any agreement that governs the procedures used to exchange information between cooperating entities. The agreement usually includes how much information is to be sent, how often it is sent, how to recover from transission errors, and who is to receive the information.
In general a protocol definition will include definitions of
message formats,
sequencing rules concerning messages, and
interpretation rules concerning messages transferred in proper sequence.
[Illingworth, Oxford Dictionary of Computing]

Trivial File Transfer Protocol

Uses 5 types of messages:

The different types are distinguished by data values in the header of each message.

Uses: very simple, no-authentication, LAN file transfer e.g. bootstrapping over local network, loading fonts etc into Xterminals.

User interface: there is a user interface program called tftp with more functions that sit above this: mode setting, timeout values, remembering host/port number between requests, etc

Client-server issues

  1. authentication
  2. trust
  3. data representation
  4. connection/connectionless protocol
  5. stateless/statefull protocol

Tanenbaum fig. 1-19


Lecture Notes Index Lecture 3 Lecture 1

Chris Johnson
Last modified: Tue Mar 30 11:25:42 EST 1999
Queries to : infs2052@iwaki.anu.edu.au