Log in Sign up
Back to Discover
💻

File Transfer Protocol

technology Maturity 5-7 war conflict
This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers can share files.

FTP model.png
FTP model.png
One computer sends a file to another. It can send a picture or a note. This helps us share things. It is very fast. Do you like to share files?

36 words

Computers use a special way to share files.

FTP model.png
FTP model.png
One computer is the boss. It holds the files. Another computer asks for them. This is called a client and a server.
Passive FTP Verbindung.svg
Passive FTP Verbindung.svg

To start, you may need to sign in. You use a name and a secret word. Some computers let you join without a name. This is called anonymous access.

Sometimes, the boss sends the file to you. Other times, you go to the boss to get it. This helps if a computer has a digital wall.

1st-ftp-southpole-1994.jpg
1st-ftp-southpole-1994.jpg

It can send plain text or pictures. It can even send files in a long stream. This makes sharing very easy for many people.

116 words

Computers use a special way to share files. This is called the File Transfer Protocol, or FTP.

FTP model.png
FTP model.png
It works using a client and a server. The server is a computer that holds files. The client is the computer that asks for them.

To start, you may need to sign in. You use a username and a password. Some servers let you join without a name. This is called anonymous access.

1st-ftp-southpole-1994.jpg
1st-ftp-southpole-1994.jpg

FTP uses two connections to work. One connection is for control. This lets you send commands. The other connection is for data. This carries the actual files.

Passive FTP Verbindung.svg
Passive FTP Verbindung.svg

Sometimes a server cannot send data directly to you. This happens if you have a digital wall called a firewall. In this case, you use passive mode. This lets the client start the data connection instead.

FTP can send many types of data. It can send text files. It can also send images. For images, it sends the file byte by byte. This is called binary mode. Most modern computers use this mode to move files safely.

180 words

Computers need a way to talk to each other to share information. The File Transfer Protocol, or FTP, is a standard way this happens.

FTP model.png
FTP model.png
It uses a model called a client and a server. The server is a computer that holds files for others to use. The client is the computer that asks to get those files. This system makes it possible to move data across a network. It is a very important part of how computers work together.

FTP works by using two separate connections at the same time. One connection is for control, which carries your commands. The other connection is for data, which carries the actual files.

Passive FTP Verbindung.svg
Passive FTP Verbindung.svg
Sometimes, a digital wall called a firewall blocks the server from reaching you. In this case, the system uses passive mode. In passive mode, the client starts the data connection instead. This allows the files to move even when a firewall is present.

People have used FTP for a very long time. A man named Abhay Bhushan wrote the first rules for it. He published them on April 16, 1971.

1st-ftp-southpole-1994.jpg
1st-ftp-southpole-1994.jpg
At first, it ran on an older system called NCP. Later, it was updated to work with TCP/IP in 1980 and 1985. These updates helped it work on the modern internet. Many people still use versions of these rules today.

There are many ways to send different kinds of data. For plain text, it uses a mode called ASCII. For images and other files, it uses binary mode.

Google Chrome - FTP is Not secure.png
Google Chrome - FTP is Not secure.png
In binary mode, the computer sends the file byte by byte. This ensures the file stays exactly the same when it arrives. Users can also log in with a username and password. Some servers allow anonymous access, which means no password is needed.

You might have used something like FTP without knowing it. Many file managers, like Windows File Explorer, can use it.

Primitive FTPd screenshot.png
Primitive FTPd screenshot.png
Some web browsers used to show FTP sites directly. However, Google Chrome and Firefox stopped supporting it in 2021. They did this because newer ways like SFTP are more secure. Even so, the ideas behind FTP still help us understand how data moves.

370 words

The File Transfer Protocol, commonly known as FTP, is a standard communication protocol. It is used to transfer computer files between a client and a server on a network.

FTP model.png
FTP model.png
This system relies on a client-server model architecture. In this setup, the client is the computer requesting files. The server is the computer that stores and provides those files. FTP is a fundamental tool for moving data across different computer systems.

FTP operates using two separate connections to manage tasks efficiently. One connection is for control, which carries commands from the user. The second connection is for data, which carries the actual files being moved.

Passive FTP Verbindung.svg
Passive FTP Verbindung.svg
This dual-connection method traces back to the Network Control Protocol (NCP). NCP was a simplex protocol that used two separate port addresses for two-way communication. Even after the standardization of TCP and UDP, FTP kept this two-port design for backwards compatibility.

There are two primary ways to establish the data connection: active mode and passive mode. In active mode, the client tells the server which port it is listening on using a PORT command. The server then initiates the data connection from its own port 20. However, firewalls often block these incoming connections. To solve this, clients use passive mode. In this mode, the client sends a PASV command to the server. The server responds with an IP address and port number. The client then opens the connection to the server, which allows the data to pass through firewalls.

FTP model.png
FTP model.png

FTP can handle many different types of data through various modes. ASCII (TYPE A) is used for plain text files. It converts characters to ensure they are readable on different systems. For files like images, computers use Image mode, also called Binary mode (TYPE I). In this mode, the machine sends the file byte by byte. This ensures the file remains exactly the same when it arrives. Other specialized types include EBCDIC (TYPE E) for specific character sets and Local mode (TYPE L), which supports machines that do not use 8-bit bytes.

Google Chrome - FTP is Not secure.png
Google Chrome - FTP is Not secure.png

The history of FTP began with Abhay Bhushan. He wrote the original specification and published it on April 16, 1971.

1st-ftp-southpole-1994.jpg
1st-ftp-southpole-1994.jpg
Originally, FTP ran on the NCP protocol. By June 1980, it was updated to run on the TCP/IP protocol. Another major update occurred in October 1985 to refine the current specification. Over the years, several standards were proposed to improve the system. These included updates for IPv6 in 1998 and new ways to make the protocol more firewall-friendly.

Security is a major consideration when using FTP. Standard FTP uses a plain-text sign-in protocol. Users provide a username via the USER command and a password via the PASS command. Because this information is unencrypted, it can be vulnerable to network sniffing attacks.

Google Chrome - FTP is Not secure.png
Google Chrome - FTP is Not secure.png
To protect sensitive data, users often use FTPS, which uses SSL/TLS encryption. Another secure alternative is the SSH File Transfer Protocol, or SFTP. Because of these security risks, major web browsers like Google Chrome and Firefox dropped support for the standard FTP protocol in 2021.

Today, FTP is integrated into many different types of software. Many file managers, such as Windows File Explorer, include FTP access. On Linux systems, the KDE file managers Dolphin and Konqueror support both FTP and SFTP.

Primitive FTPd screenshot.png
Primitive FTPd screenshot.png
Some servers even allow anonymous FTP. This allows users to log in without a personal account, often using the username "anonymous." This is frequently used by hosts that provide public software updates. While newer, more secure protocols are becoming the standard, the core concepts of FTP remain vital to network communication.

613 words
🖼️ Images & Media (5)
File:Google Chrome - FTP is Not secure.png
Google Chrome - FTP is Not secure.png
File:Passive FTP Verbindung.svg
Passive FTP Verbindung.svg
File:FTP model.png
FTP model.png
File:1st-ftp-southpole-1994.jpg
1st-ftp-southpole-1994.jpg
File:Primitive FTPd screenshot.png
Primitive FTPd screenshot.png
Up Next
💻
Simple Mail Transfer Protocol
Technology
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.