0% found this document useful (0 votes)
96 views7 pages

FTP Model

FTP is a commonly used protocol for file transfer over TCP/IP networks. It allows for interactive access through a client interface, supports specifying file formats and character encodings, and requires user authentication via login and password. FTP uses two TCP connections - a persistent control connection for commands and a temporary data connection for each file transfer, with separate processes handling the control and data functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views7 pages

FTP Model

FTP is a commonly used protocol for file transfer over TCP/IP networks. It allows for interactive access through a client interface, supports specifying file formats and character encodings, and requires user authentication via login and password. FTP uses two TCP connections - a persistent control connection for commands and a temporary data connection for each file transfer, with separate processes handling the control and data functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

FTP: The Major

TCP/IP File Transfer

Protocol
 File transfer is among the most
frequently used TCP/IP applications.
Standard file transfer protocols
existed for the ARPANET before
TCP/IP became operational.
FTP Features:
 Given a reliable end-to-end transport protocol
like TCP, file transfer might seem trivial. FTP
offers many facilities beyond the transfer
function itself.
Interactive access: FTP implementations
provide an interactive interface that allows
humans to interact with remote servers.
Format specification: FTP allows the client to
specify the type and representation of stored
data. Example, the user can specify whether s
file contains text or binary data and whether text
files use the ASCII or EBCDIC character set.
Authentication Control: FTP requires clients
to authorize themselves by sending a login name
and password to the server before requesting file
transfers. The server refuses access to clients
that cannot supply a valid login and password.
FTP Process Model

 Most FTP servers’ implementations allow concurrent access


by multiple clients. Clients use TCP to connect to a server.

 Single master server process awaits connections and


creates a slave process to handle each connection.

 Unlike most servers, the FTP slave process does not


perform all necessary computation. Instead, the slave
accepts and handles a control connection from the client,
but uses an additional process and an additional TCP
connection to handle each data transfer operation.

 The control connection carries commands that tell the


server which file to transfer.

 A new TCP connection and a new process on both the client


and server side is created for each data transfer operation.
While the exact details of the process architecture depend
on the operating systems used.
Data transfer connections
and the data transfer processes
that use them are created
dynamically when needed, but
the control connection persists
throughout a session. Once the
control connection disappears,
the session is terminated and
the software at both ends
terminates all data transfer
processes.
The client control process
connects to the server control
process using one TCP
connection, while the associated
data transfer processes use their
own TCP connection.
In general, the control processes
and the control connection
remain alive as long as the user
keeps the FTP session active,
and a data transfer connection
persists for one file transfer.

You might also like