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, 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 blogs mentioning FTP

cantech.in Icon 🏆 Alexa 684,819 - 📅 - How to Create an FTP User on a Windows Server? - Welcome to our step-by-step guide on creating an FTP user on a Windows Server. With an FTP user, you’ll be... The post How to Create an FTP User on a Windows Server? appeared first on Cantech Networks.
shape.host Icon 🏆 Alexa 7,621,084 - 📅 - Comment installer VSFTPD sur Rocky Linux 9 - VSFTPD (Very Secure FTP Daemon) est un serveur FTP parmi les plus sécurisés et populaires dans les environnements UNIX. Il est conçu pour être sécurisé, rapide, et respecte les standards FTP. Installer VSFTPD sur Rocky Linux 9 est une excellente ...
hostnoc.com Icon 🏆 Alexa 549,313 - 📅 - How To Fix Filezilla FTP Connection Timeout Error? - The FileZilla FTP connection timeout error is a common issue during file transfers between local machines and remote servers, arising from inactivity or delays causing the […]
🏆 Alexa 5,601,953 - 📅 - How to Install and Use Wget on Linux - Wget is a non-interactive network download utility for the Linux command line interface. It’s is used for downloading or retrieving files from web servers or FTP servers. Wget can be installed on most modern operating systems, including Windows, ...
5wire.co.uk Icon 🏆 Alexa 4,226,595 - 📅 - How to install your Joomla website - Here’s a guide to setting up Joomla using cPanel: Preparation Web Hosting: Ensure your cPanel account includes MySQL database and FTP access. Download Joomla! Visit the official Joomla! website and download the latest version compatible with your ...
20i.com Icon 🏆 Alexa 16,400 - 📅 - Best WordPress Security Plugins 2024 - 20i blog post by Arron Cruse from 20i - Web hosting, reseller hosting & everything internet! If you’re a 20i WordPress Hosting customer, you already enjoy the peace of mind that comes with having your websites protected by industry leading security
99rdp.com Icon 🏆 Alexa 61,857 - 📅 - How to Install FTP Server on ubuntu - The post How to Install FTP Server on ubuntu appeared first on 99RDP - Buy RDP Online - Cheap RDP - Dedicated RDP @ $3.99/Month.

📋 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 ...