FTP configuration parameters
Field / Property | Type | Description |
---|---|---|
system.ftp.server |
Boolean |
Enable FTP service. By default, it is disabled. You have to restart OpenKM after changing this parameter. false |
system.ftp.port |
Integer |
The port where the FTP service is listening. By default, it is 2121, although the default FTP port is 21 because it's a reserved port and OpenKM should be executed as an administrator to be able to use this port. You have to restart OpenKM after changing this parameter. 2121 |
system.ftp.data.port.range |
String |
Port range used by the server for data transmission. You should also open these ports in your firewall. By default, the range is 60000 to 60500, and they have to be separated by a colon. You have to restart OpenKM after changing this parameter. 60000:60500 |
system.ftp.external.address |
String |
Set the IP address to use when FTP connections are proxied. It is empty by default. |
system.ftp.debug | Integer |
Set the FTP debug flags. The greater the number, the more debug information is shown. 0 |
If you change any of these configuration parameters, they won't take effect until OpenKM has been restarted.
CIFS's FTP works better in Passive Mode. So, it might not work properly with file browsers such as Nautilus or Nemo.
Active Mode
When set to active mode, the server will try to establish a connection to a client-side port chosen at random. Since this port is not likely to be one of the predetermined ports, the firewall will block any attempt to connect to it, resulting in no connection being established.
Passive Mode
A passive configuration will not have this problem since the client will be the one initiating the connection. Of course, it's possible for the server side to have a firewall too. However, since the server is expected to receive a greater number of connection requests compared to a client, it would be logical for the server admin to adapt to the situation and open up a selection of ports to support passive mode configurations.
More info at:
- What is the difference between active and passive FTP?
- Active FTP vs. Passive FTP, a Definitive Explanation