FTP configuration parameters

Field / PropertyTypeDescription

system.ftp.server

Boolean

Enable FTP service. By default 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 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 of using this port. You have to restart OpenKM after changing this parameter.

2121

system.ftp.data.port.range

String

Port range used in 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 connection are proxied. Empty by default.

 
system.ftp.debug Integer

Set the FTP debug flags. The greater the number, the greater the debug info show.

0


If you change any of these configuration parameters it won't take effect until OpenKM have 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, then it would be but logical for the server admin to adapt to the situation and open up a selection of ports to satisfy passive mode configurations.

 More info at:

 
Table of contents [ Hide Show ]