SlideShare a Scribd company logo
1 of 16
File Transport Protocol
Content
1- definition
•2-Connecting to an FTP Server
3-The FTP model
4-Problems with FTP
File transport protocol (TFP)
Standard Network Protocol to transfer files from a
client computer to a server computer is "uploading"
and from a server to a client is "downloading".
access an FTP server
users must be able to connect to the Internet or
an intranet (via a modem or local area network)
with an FTP client program.
FTP Client (request)
Software deal with server through graphical user
interface such ( FileZilla - Fire FTP – Dreamweaver )
You can work with FTP using a simple command-line
interface, such as The DOS console in windows
and Terminal In Linux And Mac OS
•Connecting to an FTP Server
To use FTP, you will need FTP client software to connect
FTP server. You also need to know the server address, the
username, and a password and port number. The basic
information you need in order to log in successfully follows
definitionLogin example
This is the site address of the FTP server you’re connecting tohost
username used for logging into FTPlogin
PASS is the passwordPASS
PORT is the COMMAND port number you are using to
connect to the server. The most common port number is port 21
port
•Connecting to an FTP Server
1-Download FileZilla
2-Open FileZilla
3-Enter your FTP server's information
host – username – password - port
4-Click Quickconnect
5-Review the FTP server's contents
1
2
3
4 5
Anonymous FTP
•Various public servers allow anonymous login. Users
can log in to servers without an account to download
files. Uploading is not allowed for anonymous login.
Take note that your IP address is tracked even though
it is an anonymous session
•Some more commands
Get Also called “Download”. Copy files from the FTP site
to the FTP client’s system.
put Also called “Upload”. Copy files from the client’s
system to the FTP site
•During an FTP connection, two transmission
channels are open
A channel for commands (port 21)
(control channel) , a control channel that stays open for the
entire session
A channel for data (port 20)
, data channel that opens and closes to transfer data such
as folder listings and files to or from the server as
requested by the client.
Why does FTP have two port number (20 – 21) ?
FTP uses two TCP connections for communication.
One to pass control information, and is not used to
send files on port 21, only control information.
And the other, a data connection on port 20 to send the
data files between the client and the server. The
connection has to be established before the files can
actually be sent across.
Types of connections
When an FTP client connects to an FTP server it opens
a connection to the FTP control port 21.
Then the client tells the FTP server whether to
establish an active or passive connection.
The type of connection chosen by the client
determines how the server responds and on what ports
transactions will occur.
Active Connections
•When an active connection is established, the
server opens a data connection to the client from
port 20 to a high range port on the client machine. All
data from the server is then passed over this
connection.
Passive Connections
When a passive connection is established, the client
asks the FTP server to establish a passive connection
port, which can be on any port higher than 10,000.
The server then binds to this high-numbered port for
this particular session and relays that port number
back to the client. The client then opens the newly
bound port for the data connection.
Each data request the client makes results in a
separate data connection. Most modern FTP clients
attempt to establish a passive connection when
requesting data from servers.
Problems with FTP
1-FTP does not interpret the contents of a file
transferred in binary mode -- this can cause problems,
e.g. a file of 32-bit floating point numbers where the
representation is different on the two computers.
2-it doesn't use strong authentication.
3-It is based on password logins which can be
guessed, or discovered by cybercriminals using a
sniffer.
4-FTP sends files in clear plain-text
5-The main reason that web sites get hacked is
because they are being updated with insecure FTP
transfers.
File Transport Protocol

More Related Content

What's hot

Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
hariprasadnr
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
Amandeep Kaur
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
Raghu nath
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
Milind Swane
 

What's hot (20)

File Transfer Protocol(FTP)
File Transfer Protocol(FTP)File Transfer Protocol(FTP)
File Transfer Protocol(FTP)
 
FTP
FTPFTP
FTP
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
 
Introduction to telnet
Introduction to telnetIntroduction to telnet
Introduction to telnet
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
 
File Transfer Protocol(ftp)
File Transfer Protocol(ftp)File Transfer Protocol(ftp)
File Transfer Protocol(ftp)
 
Ftp server
Ftp serverFtp server
Ftp server
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Using an FTP client - Client server computing
Using an FTP client -  Client server computingUsing an FTP client -  Client server computing
Using an FTP client - Client server computing
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
 
FTP Client and Server | Computer Science
FTP Client and Server | Computer ScienceFTP Client and Server | Computer Science
FTP Client and Server | Computer Science
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer Protocol
 
Ftp
FtpFtp
Ftp
 
Ftp
FtpFtp
Ftp
 
Ftp server
Ftp serverFtp server
Ftp server
 
Lec 8(FTP Protocol)
Lec 8(FTP Protocol)Lec 8(FTP Protocol)
Lec 8(FTP Protocol)
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Ftp hari edu
Ftp hari eduFtp hari edu
Ftp hari edu
 

Similar to File Transport Protocol

FTP and TFTP are primarily file transfer protocols. What is the main.pdf
FTP and TFTP are primarily file transfer protocols. What is the main.pdfFTP and TFTP are primarily file transfer protocols. What is the main.pdf
FTP and TFTP are primarily file transfer protocols. What is the main.pdf
archanaemporium
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
Renu Thakur
 

Similar to File Transport Protocol (20)

11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
FTP-PPT.pptx
FTP-PPT.pptxFTP-PPT.pptx
FTP-PPT.pptx
 
Ft pv2(1)
Ft pv2(1)Ft pv2(1)
Ft pv2(1)
 
File transfer protocol- Gowdham
File transfer protocol- GowdhamFile transfer protocol- Gowdham
File transfer protocol- Gowdham
 
Telnet and FTP.ppt
Telnet and FTP.pptTelnet and FTP.ppt
Telnet and FTP.ppt
 
Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4
Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4
Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4
 
FILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ GroupFILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ Group
 
FTP and TFTP are primarily file transfer protocols. What is the main.pdf
FTP and TFTP are primarily file transfer protocols. What is the main.pdfFTP and TFTP are primarily file transfer protocols. What is the main.pdf
FTP and TFTP are primarily file transfer protocols. What is the main.pdf
 
Ftp
FtpFtp
Ftp
 
BITM3730Week10.pptx
BITM3730Week10.pptxBITM3730Week10.pptx
BITM3730Week10.pptx
 
protocols (1).pptx
protocols (1).pptxprotocols (1).pptx
protocols (1).pptx
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
filetranferprotocolseminarpresentation.pptx
filetranferprotocolseminarpresentation.pptxfiletranferprotocolseminarpresentation.pptx
filetranferprotocolseminarpresentation.pptx
 
Remote Login and File Transfer Protocols
Remote Login and File Transfer ProtocolsRemote Login and File Transfer Protocols
Remote Login and File Transfer Protocols
 
Dcn ppt 150050705008
Dcn ppt 150050705008Dcn ppt 150050705008
Dcn ppt 150050705008
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network
 
File Transfer Protocol - FTP
File Transfer Protocol - FTPFile Transfer Protocol - FTP
File Transfer Protocol - FTP
 
Web Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSSWeb Programming: Basics of Internet and Introduction to HTML5 and CSS
Web Programming: Basics of Internet and Introduction to HTML5 and CSS
 

More from hussein zayed (6)

CS341 Algorithms Analysis and Design-Sec7.pptx
CS341 Algorithms Analysis and Design-Sec7.pptxCS341 Algorithms Analysis and Design-Sec7.pptx
CS341 Algorithms Analysis and Design-Sec7.pptx
 
Random Variables and Distributions
Random Variables and DistributionsRandom Variables and Distributions
Random Variables and Distributions
 
Product owner
Product ownerProduct owner
Product owner
 
substring & subSquence & find problem solving
substring & subSquence & find problem solving substring & subSquence & find problem solving
substring & subSquence & find problem solving
 
Inheritance & polymorphism java oop
Inheritance & polymorphism java oopInheritance & polymorphism java oop
Inheritance & polymorphism java oop
 
Java fx
Java fxJava fx
Java fx
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

File Transport Protocol

  • 2. Content 1- definition •2-Connecting to an FTP Server 3-The FTP model 4-Problems with FTP
  • 3. File transport protocol (TFP) Standard Network Protocol to transfer files from a client computer to a server computer is "uploading" and from a server to a client is "downloading". access an FTP server users must be able to connect to the Internet or an intranet (via a modem or local area network) with an FTP client program.
  • 4. FTP Client (request) Software deal with server through graphical user interface such ( FileZilla - Fire FTP – Dreamweaver ) You can work with FTP using a simple command-line interface, such as The DOS console in windows and Terminal In Linux And Mac OS
  • 5. •Connecting to an FTP Server To use FTP, you will need FTP client software to connect FTP server. You also need to know the server address, the username, and a password and port number. The basic information you need in order to log in successfully follows definitionLogin example This is the site address of the FTP server you’re connecting tohost username used for logging into FTPlogin PASS is the passwordPASS PORT is the COMMAND port number you are using to connect to the server. The most common port number is port 21 port
  • 6. •Connecting to an FTP Server 1-Download FileZilla 2-Open FileZilla 3-Enter your FTP server's information host – username – password - port 4-Click Quickconnect 5-Review the FTP server's contents
  • 8. Anonymous FTP •Various public servers allow anonymous login. Users can log in to servers without an account to download files. Uploading is not allowed for anonymous login. Take note that your IP address is tracked even though it is an anonymous session •Some more commands Get Also called “Download”. Copy files from the FTP site to the FTP client’s system. put Also called “Upload”. Copy files from the client’s system to the FTP site
  • 9. •During an FTP connection, two transmission channels are open A channel for commands (port 21) (control channel) , a control channel that stays open for the entire session A channel for data (port 20) , data channel that opens and closes to transfer data such as folder listings and files to or from the server as requested by the client.
  • 10. Why does FTP have two port number (20 – 21) ? FTP uses two TCP connections for communication. One to pass control information, and is not used to send files on port 21, only control information. And the other, a data connection on port 20 to send the data files between the client and the server. The connection has to be established before the files can actually be sent across.
  • 11. Types of connections When an FTP client connects to an FTP server it opens a connection to the FTP control port 21. Then the client tells the FTP server whether to establish an active or passive connection. The type of connection chosen by the client determines how the server responds and on what ports transactions will occur.
  • 12. Active Connections •When an active connection is established, the server opens a data connection to the client from port 20 to a high range port on the client machine. All data from the server is then passed over this connection.
  • 13. Passive Connections When a passive connection is established, the client asks the FTP server to establish a passive connection port, which can be on any port higher than 10,000. The server then binds to this high-numbered port for this particular session and relays that port number back to the client. The client then opens the newly bound port for the data connection. Each data request the client makes results in a separate data connection. Most modern FTP clients attempt to establish a passive connection when requesting data from servers.
  • 14.
  • 15. Problems with FTP 1-FTP does not interpret the contents of a file transferred in binary mode -- this can cause problems, e.g. a file of 32-bit floating point numbers where the representation is different on the two computers. 2-it doesn't use strong authentication. 3-It is based on password logins which can be guessed, or discovered by cybercriminals using a sniffer. 4-FTP sends files in clear plain-text 5-The main reason that web sites get hacked is because they are being updated with insecure FTP transfers.