FTP explained


FTP or File Transfer Protocol is used to transfer data from one computer to another over the Internet, or through a network.

Specifically, FTP is a commonly used protocol for exchanging files over any network that supports the TCP/IP protocol (such as the Internet or an intranet). There are two computers involved in an FTP transfer: a server and a client. The FTP server, running FTP server software, listens on the network for connection requests from other computers. The client computer, running FTP client software, initiates a connection to the server. Once connected, the client can do a number of file manipulation operations such as uploading files to the server, download files from the server, rename or delete files on the server and so on. Any software company or individual programmer is able to create FTP server or client software because the protocol is an open standard. Virtually every computer platform supports the FTP protocol. This allows any computer connected to a TCP/IP based network to manipulate files on another computer on that network regardless of which operating systems are involved (if the computers permit FTP access). There are many existing FTP client and server programs. FTP servers can be set up anywhere between game servers, voice servers, internet hosts, and other physical servers.

Connection Methods


FTP runs exclusively over TCP. FTP servers by default listen on port 21 for incoming connections from FTP clients. A connection to this port from the FTP Client forms the control stream on which commands are passed to the FTP server from the FTP client and on occasion from the FTP server to the FTP client. FTP uses out-of-band control, which means it uses a separate connection for control and data. Thus, for the actual file transfer to take place, a different connection is required which is called the data stream. Depending on the transfer mode, the process of setting up the data stream is different.

In active mode, the FTP client opens a random port (> 1023), sends the FTP server the random port number on which it is listening over the control stream and waits for a connection from the FTP server. When the FTP server initiates the data connection to the FTP client it binds the source port to port 20 on the FTP server.

In order to use active mode, the client sends a PORT command, with the IP and port as argument. The format for the IP and port is "h1,h2,h3,h4,p1,p2". Each field is a decimal representation of 8 bits of the host IP, followed by the chosen data port. For example, a client with an IP of 192.168.0.1, listening on port 1025 for the data connection will send the command "PORT 192,168,0,1,4,1". The port fields should be interpreted as p1


<-- Previous | Home Glossary | Next -->

📣 Latest tweets mentioning FTP


📖 Latest blogs mentioning FTP

jethost.com Icon 🏆 Semrush 2,422,844▼ - 📅 - 10 best File Transfer Protocol (FTP) clients - Everyone who runs a website ends up needing one: a good FTP client. It is the app that moves files between your computer and your server – and the difference between a clunky one and a great one is the difference between dreading uploads and not ...
smartweb.com.ng Icon 🏆 Semrush 1,966,844▼ - 📅 - How to resolve filezilla 421 Too many connections error - The FileZilla is an FTP client also known as FTP or FTPs or SFTP client used to manage files i.e. both upload and download to and from the live server. The server must be connected before the upload can be made but some times connection encountered ...
royalhost.net Icon 🏆 Semrush 3,369,230▲ - 📅 - Best FTP Clients for Mac (macOS): Free & Paid Options - If you manage a website, WordPress installation, VPS, or remote server from a Mac, choosing the right FTP client for Mac can make uploading, downloading, editing, and managing files much easier. A good FTP client should make it easy to connect to ...
monovm.com Icon 🏆 Semrush 526,492▲ - 📅 - What Is the FTP Port Number? Default Ports Explained ???? - Learn what the FTP port number is and how FTP ports 20 and 21 work. Understand active and passive FTP modes, security risks, and common port settings.
🏆 Semrush 1,554,693▲ - 📅 - How to Access an FTP Server on a Mac - You can access an ftp server on macos quickly by using Finder. This method lets you connect to a server and treat it almost like a local disk, but Finder only allows read-only access. If you want to view, edit, or transfer files with more control, ...
10web.io Icon 🏆 Semrush 106,861▲ - 📅 - How to Clone Any Website with 10Web (Step-by-Step Guide) - You found a site that looks like what you want to create. The structure and composition is just the way you’ve been imagining yours to be. So you decide to clone it and use it as a base. Ten minutes later you’re reading about FTP transfers, database
supporthost.com Icon 🏆 Semrush 472,254▲ - 📅 - What is SFTP? And How to Use It - Every website owner needs to transfer files to their server, whether uploading a new plugin, restoring a backup, or editing configuration files. If you’re still using FTP to move files, your data travels across the internet in plain text. Anyone ...

📋 Latest news about FTP

Benefits of FTP Servers and How Does an FTP Server Work - 📅 - FTP Servers : You may have heard of FTP, or File Transfer Protocol, but you might be unsure what it is exactly. At its core, the file transfer protocol is a way to connect two computers to one another in the safest possible way to help transfer files between two or more points. To put it simply, it’s the means by ...
Finjan Finds Stolen FTP Credentials - 📅 - Security vendor Finjan (finjan.com) announced on Wednesday that it has recently uncovered an illegal database storing more than 8,700 stolen FTP credentials including usernames, passwords and server addresses. The database is being hosted on a server in Hong Kong, even though all of its contents are in Russian, and ...