SlideShare a Scribd company logo
FTP
File Transfer Protocol
• FTP (File Transfer Protocol) is a protocol for
transferring a file from one host to another host.
Compare & Contrast FTP with HTTP
• They both:
–run on top of TCP,
–the Internet's connection-oriented,
–transport-layer,
–reliable data transfer protocol.
FTP
• uses two parallel TCP connections to transfer a
file, a control connection and a data
connection.
• The control connection is used for sending
control information between the two hosts --
information such as user identification,
password, commands to change remote
directory, and commands to "put" and "get"
files.
• The data connection is used to actually send a
file.
• Because FTP uses a separate control
connection, FTP is said to send its control
information out-of-band.
FTP
FTP
•two parallel
TCP
connections
•FTP is said to
send its control
information
out-of-band.
•Maintain State
HTTP
•One TCP
connection
•HTTP is said to
send its control
information in-
band.
•Stateless
FTP…
• FTP first sets up a control TCP connection on
server port number 21.
• The client side of FTP sends the user
identification and password over this control
connection.
• The client side of FTP also sends, over the control
connection, commands to change the remote
directory.
• When the user requests a file transfer (either to,
or from, the remote host), FTP opens a TCP data
connection on server port number 20.
FTP…
• FTP sends exactly one file over the data
connection and then closes the data
connection.
• If, during the same session, the user wants to
transfer another file, FTP opens another data
TCP connection.
• Throughout a session, the FTP server must
maintain state about the user.
FTP Commands and Replies
• The commands, from client to server, and replies,
from server to client, are sent across the control
TCP connection in 7-bit ASCII format.
• In order to delineate successive commands, a
carriage return and line feed end each command
(and reply).
• Each command consists of four uppercase ASCII
characters, some with optional arguments.
FTP Commands and Replies…
• Some of the more common commands are:
– USER username : Used to send the user identification
to server.
– PASS password : Used to send the user password to
the server.
– LIST : Used to ask the server to send back a list of all
the files in the current remote directory. The list of
files is sent over a (new and non-persistent) data TCP
connection and not over the control TCP connection.
– RETR filename : Used to retrieve (i.e., get) a file from
the current directory of the remote host.
– STOR filename : Used to store (i.e., put) a file into the
current directory of the remote host.
FTP Commands and Replies…
• Some typical replies:
– 331 Username OK, password required
– 125 Data connection already open; transfer
starting
– 425 Can't open data connection
– 452 Error writing file

More Related Content

What's hot

Application Layer
Application LayerApplication Layer
Application Layer
ushabarad142
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
Kumar Alok
 
FTP Client and Server | Computer Science
FTP Client and Server | Computer ScienceFTP Client and Server | Computer Science
FTP Client and Server | Computer Science
Transweb Global Inc
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Ujjayanta Bhaumik
 
Ftp
FtpFtp
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
Vipin Rai
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
N.Jagadish Kumar
 
File Transfer protocols
File Transfer protocolsFile Transfer protocols
File Transfer protocols
Aayushi Pareek
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
selvakumar_b1985
 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1
Hossam El-Deen Osama
 
Ftp server
Ftp serverFtp server
Ftp server
madhurijaviya
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
Harish Chand
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
guest029bcd
 
Ftp
FtpFtp
Ftp
ARYA TM
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
Shimona Agarwal
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
asimnawaz54
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
Milan Thapa
 
Transport layer
Transport layer Transport layer
Transport layer
Mukesh Chinta
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
SIDDARAMAIAHMC
 

What's hot (20)

Application Layer
Application LayerApplication Layer
Application Layer
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
FTP Client and Server | Computer Science
FTP Client and Server | Computer ScienceFTP Client and Server | Computer Science
FTP Client and Server | Computer Science
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Ftp
FtpFtp
Ftp
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
File Transfer protocols
File Transfer protocolsFile Transfer protocols
File Transfer protocols
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1
 
Ftp server
Ftp serverFtp server
Ftp server
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
Ftp
FtpFtp
Ftp
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
Transport layer
Transport layer Transport layer
Transport layer
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
 

Viewers also liked

FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer Protocol
Peter R. Egli
 
File transfer protocol (ftp)
File transfer protocol (ftp)File transfer protocol (ftp)
File transfer protocol (ftp)
Cort1026
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
Om Prakash
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
Raghu nath
 
Presentation on telnet
Presentation on telnetPresentation on telnet
Presentation on telnet
Amandeep Kaur
 
Ftp
FtpFtp
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
Milind Swane
 
Simple mail transfer protocol
Simple mail transfer protocolSimple mail transfer protocol
Simple mail transfer protocol
Anagha Ghotkar
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Rajan Pandey
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
sanjoysanyal
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic Mail
Peter R. Egli
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
Dulith Kasun
 
Konfigurasi ftp server pada debian 7
Konfigurasi ftp server pada debian 7Konfigurasi ftp server pada debian 7
Konfigurasi ftp server pada debian 7
CyberSpace
 
Kreiranje FTP servera u Windows 7 operativnom sistemu
Kreiranje FTP servera u Windows 7 operativnom sistemuKreiranje FTP servera u Windows 7 operativnom sistemu
Kreiranje FTP servera u Windows 7 operativnom sistemu
Migdad Rešidović
 
Projet sur transfert de fichiers
Projet sur transfert de fichiersProjet sur transfert de fichiers
Projet sur transfert de fichiersjosepkap
 
as2
as2as2

Viewers also liked (17)

FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer Protocol
 
File transfer protocol (ftp)
File transfer protocol (ftp)File transfer protocol (ftp)
File transfer protocol (ftp)
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
 
Presentation on telnet
Presentation on telnetPresentation on telnet
Presentation on telnet
 
Ftp
FtpFtp
Ftp
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
Simple mail transfer protocol
Simple mail transfer protocolSimple mail transfer protocol
Simple mail transfer protocol
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 
Email - Electronic Mail
Email - Electronic MailEmail - Electronic Mail
Email - Electronic Mail
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
Atelier 3
Atelier 3Atelier 3
Atelier 3
 
Konfigurasi ftp server pada debian 7
Konfigurasi ftp server pada debian 7Konfigurasi ftp server pada debian 7
Konfigurasi ftp server pada debian 7
 
Kreiranje FTP servera u Windows 7 operativnom sistemu
Kreiranje FTP servera u Windows 7 operativnom sistemuKreiranje FTP servera u Windows 7 operativnom sistemu
Kreiranje FTP servera u Windows 7 operativnom sistemu
 
Projet sur transfert de fichiers
Projet sur transfert de fichiersProjet sur transfert de fichiers
Projet sur transfert de fichiers
 
as2
as2as2
as2
 

Similar to FTP

Ftp.75 to 76
Ftp.75 to 76Ftp.75 to 76
Ftp.75 to 76
myrajendra
 
Telnet and FTP.ppt
Telnet and FTP.pptTelnet and FTP.ppt
Telnet and FTP.ppt
ssuser1774d3
 
ftp.07f.ppt
ftp.07f.pptftp.07f.ppt
ftp.07f.ppt
aozcan1
 
patelchodu
patelchodupatelchodu
patelchodu
sammyy502
 
FTP-PPT.pptx
FTP-PPT.pptxFTP-PPT.pptx
FTP-PPT.pptx
Memerhub1
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
ssuserf7cd2b
 
Ft pv2(1)
Ft pv2(1)Ft pv2(1)
BITM3730Week10.pptx
BITM3730Week10.pptxBITM3730Week10.pptx
BITM3730Week10.pptx
MattMarino13
 
Computer network
Computer networkComputer network
Computer network
Pihu Goel
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
TechieHands
 
File transfer protocol (ftp) in application
File transfer protocol (ftp) in applicationFile transfer protocol (ftp) in application
File transfer protocol (ftp) in application
RochakSrivastava3
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
hariprasadnr
 
File tranfer protocol
File tranfer protocolFile tranfer protocol
File tranfer protocol
KunalThorat9
 
protocols (1).pptx
protocols (1).pptxprotocols (1).pptx
protocols (1).pptx
ALLIPURAMLAVANYA21K9
 
Ftp tftp
Ftp tftpFtp tftp
Ftp tftp
Prabhat gangwar
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
AASTHAJAJOO
 
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptxUnit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
AdityaEM08
 
File Transport Protocol
File Transport ProtocolFile Transport Protocol
File Transport Protocol
hussein zayed
 
Ftp: a slideshow on File transfer protocol
Ftp: a slideshow on File transfer protocol Ftp: a slideshow on File transfer protocol
Ftp: a slideshow on File transfer protocol
Lina Guha Roy
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
tumetr1
 

Similar to FTP (20)

Ftp.75 to 76
Ftp.75 to 76Ftp.75 to 76
Ftp.75 to 76
 
Telnet and FTP.ppt
Telnet and FTP.pptTelnet and FTP.ppt
Telnet and FTP.ppt
 
ftp.07f.ppt
ftp.07f.pptftp.07f.ppt
ftp.07f.ppt
 
patelchodu
patelchodupatelchodu
patelchodu
 
FTP-PPT.pptx
FTP-PPT.pptxFTP-PPT.pptx
FTP-PPT.pptx
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
 
Ft pv2(1)
Ft pv2(1)Ft pv2(1)
Ft pv2(1)
 
BITM3730Week10.pptx
BITM3730Week10.pptxBITM3730Week10.pptx
BITM3730Week10.pptx
 
Computer network
Computer networkComputer network
Computer network
 
File transfer protocol
File transfer protocolFile transfer protocol
File transfer protocol
 
File transfer protocol (ftp) in application
File transfer protocol (ftp) in applicationFile transfer protocol (ftp) in application
File transfer protocol (ftp) in application
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
 
File tranfer protocol
File tranfer protocolFile tranfer protocol
File tranfer protocol
 
protocols (1).pptx
protocols (1).pptxprotocols (1).pptx
protocols (1).pptx
 
Ftp tftp
Ftp tftpFtp tftp
Ftp tftp
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
 
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptxUnit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
Unit 5 Email FTP Rks.pps.ppt_20240425_112130_0000.pptx
 
File Transport Protocol
File Transport ProtocolFile Transport Protocol
File Transport Protocol
 
Ftp: a slideshow on File transfer protocol
Ftp: a slideshow on File transfer protocol Ftp: a slideshow on File transfer protocol
Ftp: a slideshow on File transfer protocol
 
file transfer and access utilities
file transfer and access utilitiesfile transfer and access utilities
file transfer and access utilities
 

More from bhavanatmithun

Code optimisation presnted
Code optimisation presntedCode optimisation presnted
Code optimisation presnted
bhavanatmithun
 
computer networks
computer networkscomputer networks
computer networks
bhavanatmithun
 
Deadlock
DeadlockDeadlock
Deadlock
bhavanatmithun
 
krisibhavan site
krisibhavan sitekrisibhavan site
krisibhavan site
bhavanatmithun
 
User server interaction
User server interactionUser server interaction
User server interaction
bhavanatmithun
 
Types of cn, protocols and standards
Types of cn, protocols and standardsTypes of cn, protocols and standards
Types of cn, protocols and standards
bhavanatmithun
 
Snmp
SnmpSnmp
Iso osi and tcp-ip reference models
Iso osi and tcp-ip reference modelsIso osi and tcp-ip reference models
Iso osi and tcp-ip reference models
bhavanatmithun
 
HTTP
HTTPHTTP
DNS
DNSDNS
application layer protocols
application layer protocolsapplication layer protocols
application layer protocols
bhavanatmithun
 
Group communication
Group communicationGroup communication
Group communication
bhavanatmithun
 
Group communication
Group communicationGroup communication
Group communication
bhavanatmithun
 

More from bhavanatmithun (13)

Code optimisation presnted
Code optimisation presntedCode optimisation presnted
Code optimisation presnted
 
computer networks
computer networkscomputer networks
computer networks
 
Deadlock
DeadlockDeadlock
Deadlock
 
krisibhavan site
krisibhavan sitekrisibhavan site
krisibhavan site
 
User server interaction
User server interactionUser server interaction
User server interaction
 
Types of cn, protocols and standards
Types of cn, protocols and standardsTypes of cn, protocols and standards
Types of cn, protocols and standards
 
Snmp
SnmpSnmp
Snmp
 
Iso osi and tcp-ip reference models
Iso osi and tcp-ip reference modelsIso osi and tcp-ip reference models
Iso osi and tcp-ip reference models
 
HTTP
HTTPHTTP
HTTP
 
DNS
DNSDNS
DNS
 
application layer protocols
application layer protocolsapplication layer protocols
application layer protocols
 
Group communication
Group communicationGroup communication
Group communication
 
Group communication
Group communicationGroup communication
Group communication
 

Recently uploaded

Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 

Recently uploaded (20)

Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 

FTP

  • 2. • FTP (File Transfer Protocol) is a protocol for transferring a file from one host to another host.
  • 3. Compare & Contrast FTP with HTTP • They both: –run on top of TCP, –the Internet's connection-oriented, –transport-layer, –reliable data transfer protocol.
  • 4. FTP • uses two parallel TCP connections to transfer a file, a control connection and a data connection.
  • 5. • The control connection is used for sending control information between the two hosts -- information such as user identification, password, commands to change remote directory, and commands to "put" and "get" files. • The data connection is used to actually send a file. • Because FTP uses a separate control connection, FTP is said to send its control information out-of-band. FTP
  • 6. FTP •two parallel TCP connections •FTP is said to send its control information out-of-band. •Maintain State HTTP •One TCP connection •HTTP is said to send its control information in- band. •Stateless
  • 7. FTP… • FTP first sets up a control TCP connection on server port number 21. • The client side of FTP sends the user identification and password over this control connection. • The client side of FTP also sends, over the control connection, commands to change the remote directory. • When the user requests a file transfer (either to, or from, the remote host), FTP opens a TCP data connection on server port number 20.
  • 8. FTP… • FTP sends exactly one file over the data connection and then closes the data connection. • If, during the same session, the user wants to transfer another file, FTP opens another data TCP connection. • Throughout a session, the FTP server must maintain state about the user.
  • 9. FTP Commands and Replies • The commands, from client to server, and replies, from server to client, are sent across the control TCP connection in 7-bit ASCII format. • In order to delineate successive commands, a carriage return and line feed end each command (and reply). • Each command consists of four uppercase ASCII characters, some with optional arguments.
  • 10. FTP Commands and Replies… • Some of the more common commands are: – USER username : Used to send the user identification to server. – PASS password : Used to send the user password to the server. – LIST : Used to ask the server to send back a list of all the files in the current remote directory. The list of files is sent over a (new and non-persistent) data TCP connection and not over the control TCP connection. – RETR filename : Used to retrieve (i.e., get) a file from the current directory of the remote host. – STOR filename : Used to store (i.e., put) a file into the current directory of the remote host.
  • 11. FTP Commands and Replies… • Some typical replies: – 331 Username OK, password required – 125 Data connection already open; transfer starting – 425 Can't open data connection – 452 Error writing file