Server configuration file
From PowerFolder Wiki
Contents |
Preface
This document lists and explains all parameters which can be set in the configuration file of PowerFolder Server. These entries do not work with the PowerFolder Client configuration file.
General
The configuration file is located in the PowerFolder server installation directory and named PowerFolder.config. Also all parameters of the client configuration file can be setup within this file.
Format
The format is a simple text base formats with key=value formatted lines. Comments can be inserted with by adding a # (dash) in front of each line.
Parameters (Mandatory)
Name of server
nick=name of server
Hostname
hostname=hostname.example.com
IP/DNS name or DynDNS name where the server is reachable at
TCP port
port=1337
PowerFolder listen on this port for incoming connections (data).
Note: The following line has to be added too:
random-port=false
Webinterface port
plugin.webinterface.port=8080
TCP port of webinterface. By default available after startup at http://localhost:8080
Admin account
plugin.webinterface.username=username plugin.webinterface.password=password
Administration account. Will be removed after first start. Should be used for administration only. To (re-)set the password add these lines before startup.
Parameters (Optional)
Folder creation directory name handling
create.folder.allow.allchars=false
With this option set to true the server will try to use the exact name of the folder a client tries to create. It does not replace the characters "/\\:*?\"<>|" with underlines. This is useful if you like to store the files in subdirectory structure on the server.
Folder creation overwrite old folder
create.folder.overwrite.old=false
This option controls if the server should delete a existing folder if a client tries to create a new one with the same name. Otherwise the server searches for a new empty directory by appending (2), (3), ... the directory path. Attention: Does not backup the contents of the existing folder.
Registration of new user allowed
server.register.enabled=true
Amount of megabytes storage for new user
server.register.os.size=1024
Days online space for new registered users
server.register.os.days=-1
The days of online storage subscription for new registered accounts. -1 for unlimited. Expires after the given days and informs the user if not upgraded during that time.

