We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Networking

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is Passive FTP?

By Carol Francois
Updated: May 16, 2024

Passive FTP is a connection between two servers, where the client service is the initiator of the connection on both sides; the client and the remote site. There are two types of file transfer protocols or FTP, active and passive. In a FTP, a data port (usually port 20) and a command or control port (usually number 21) is opened between two computers, allowing files to be moved between units through the firewall.

To initiate the connection, the client must follow two steps, which are detailed below:

1)Open two unprivileged local ports. The first port is n > 1023 and is set to access port 21 on the server, using a PASV ftp command. The receiving server opens unprivileged port p > 1023 and a port p command is returned.

2)Open port n +1 and connect to port p on the server. Now the connection is made and the data transfer between the client and the server can begin.

In order to support passive FTP, four settings on the server side firewall are required. FTP server port 2 and n > 1023 from anywhere with a client initiated connection is required. Port 21 to port > 1023 and remote port > 1023 must be open for the server to respond to client requests and send data.

Passive FTP configuration allows users to employ their web browser as an FTP client. To do this, they simply type ftp://URL into the address bar. Browsers generally don’t support active FTP.

Passive FTP shifts the burden on issues and risks to the server side, based on the need to make high numbered ports available for remote connection. FTP daemons are used to manage the functions allowed on the ports.

Users without passive mode FTP will have to use a third party application to make the connection, but this is done on the client side.

Think of passive FTP as a shared storage locker. Anyone with the address or FTP site and key or user ID and password can access the locker, transferring files and data at will. An active FTP would be a shared storage locker with a guard. To access the data, you need to prove who you are, and to arrange for permission to get through the firewall or pass the guard.

If you are managing a passive FTP site, stay current on changes in browsers and the options available. Third party FTP clients are free and widely available. Should there be a need to restrict access more tightly, change the IP address for the FTP site and switch to an active FTP mode.

WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
Share
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.