How to Enable Active Mode Ftp in Dolphin / Konqueror in KDE

By | August 12, 2020

Dolphin and Konqueror are the main file system browser on the kde desktop on linux. And they can open remote ftp file systems with the "ftp://" urls.

By default they use passive mode ftp, but can be configured to use active mode ftp as well.

The ftp protocol operates in 2 modes. Namely passive and active. Unlike http, ftp connection relies on 2 connections from 2 different ports.

Active vs Passive Mode

Now how the 2 connections are made, determine whether its an active mode ftp or passive mode ftp.

If the client make the first connection to the server and the server makes the second connection to the client then its active mode, since the server has actively connected back to the client.

In passive mode however the client makes both the connections to the server, because the server is not able to connect to the client.

This can be for many reasons. For example the client might be behind a firewall or router that does not allow incoming connections. To solve this, the passive mode ftp is used.

Configure Dolphin / KDE

The configuration setting for dolphin to use active mode ftp is hidden in the KDE system settings. Go to

1. KDE System Settings > Network > Settings > Connection Preferences.
2. Over there you see the FTP Options. 
3. Uncheck the "Enable passive mode (PASV)".

Now dolphin and konqueror shall use active mode connection to ftp servers.

FTP Servers PASV configuration

When ftp servers are installed on servers, then by default they are not configured to use passive mode.

In such a case if a client connects in passive mode, then it will be able to login, but the directory contents would not be navigable and neither would any file upload or download work.

Ftp servers need additional configuration to serve passive mode connections properly.

Resources and Links

For a detailed explanation on active and passive mode ftp check this article:
http://slacksite.com/other/ftp.html

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

One thought on “How to Enable Active Mode Ftp in Dolphin / Konqueror in KDE

Leave a Reply

Your email address will not be published. Required fields are marked *