Presentation FTP
Presentation FTP
Presented By Presented To
Rittik Chandra Das Turjy (222-15-6289) Dr. Arif Mahmud
Sarbajit Paul Bappy (222-15-6155) Associate Professor & Program Director
MIS
Department of Computer Science and
Engineering
INTRODUCTION
FTP stands for File Transfer Protocol. FTP
is a standard network protocol used to
transfer files between a client and server
over the internet or a local network.
Transferring files from a client computer to
a server computer is called “Uploading”
and transferring from a server to a client is
“Downloading”. FTP uses the service of
TCP (Transmission Control Protocol).
OBJECTIVE OF FTP
The primary objective of FTP is to enable efficient, reliable, and standardized file
transfers between client to server and vice versa over a network. Some other
objectives are pointed below:
• Enable smooth file sharing between many operating systems and platforms.
• Handle issues related to compatibility like directory structures, text
representation, and file naming patterns.
• Provide secure and organized methods for uploading, downloading, and
managing files.
• Support large-scale data transfers with flexibility and automation.
MECHANISM OF FTP
The client has three components: user interface, client
control process, and the client data transfer process. The
server has two components: the server control process and
the server data transfer process. The control connection is
User made between the control processes. The data connection is
made between the data transfer processes.
User
Interface
Client Server
TYPES OF CONNECTIONS IN FTP
FTP Connections
• ASCII: Default for transferring text; • File Structure: Continuous byte • Stream: Default; data are delivered
uses 7-bit encoding. Sender and receiver stream. from FTP to TCP as a continuous
transform data as needed. • Record Structure: Divided into stream of bytes. TCP handles
• EBCDIC: If one or both ends of the records (text only). segmentation for transmission.
⚬ End-of-File:
connection use EBCDIC encoding, then • Page Structure: Divided into pages ■ File Structure: End-of-file indicate the closing
the file can be transferred using it. with headers and page numbers, of the data connection by the sender.
■ Record Structure: If the data are divided into
• Image: Default for binary files; sent as allowing random/sequential access. records, then, each record ends with a 1-byte
raw bits. EOR; file ends with a 1-byte EOF.
• Block: Data sent in blocks with 3-byte
headers. (first byte descriptor and next
2 size)
• Compressed: Uses run-length
encoding to reduce file size (e.g.,
compressing blanks in text or nulls in
binary files).
A D VA N TA G E V S D I S A D VA N TA G E
Advantages of FTP Disadvantages of FTP
• Speed: Fast file transfer between • File size limit is the drawback of FTP
computers. only 2 GB size files can be transferred.
• Efficiency: Entire files can be • More then one receivers are not supported
accessed without extra operations. by FTP.
• Security: Requires username and • FTP does not encrypt the data this is one
of the biggest drawbacks of FTP.
password for access.
• FTP is unsecured we use login IDs and
• Bidirectional: Supports sending and
passwords making it secure but they can
receiving files on the same server.
be attacked by hackers.
THANK YOU
ANY QUESTION?