• Solutions
    • Business Solutions
    • Partners
    • Home Users
    • Charity/Education
    • References
  • Download
    • Windows
    • Mac
    • Linux
    • Development
  • Shop
  • Support
    • Support
    • Video guides
    • FAQ
    • Transfer modes
    • Forum
    • Wiki
  • About us
    • Company
    • Development
    • News
    • Roadmap
    • Legal notice
    • Contact

Server configuration file

From PowerFolder Wiki

Jump to: navigation, search

Contents

  • 1 Preface
  • 2 General
  • 3 Format
  • 4 Parameters (Mandatory)
    • 4.1 Name of server
    • 4.2 Hostname
    • 4.3 TCP port
    • 4.4 Webinterface port
    • 4.5 Admin account
  • 5 Parameters (Optional)
    • 5.1 Folder creation directory name handling
    • 5.2 Folder creation overwrite old folder
    • 5.3 Registration of new user allowed
    • 5.4 Amount of megabytes storage for new user
    • 5.5 Days online space for new registered users

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.

Retrieved from "http://www.powerfolder.com/wiki/Server_configuration_file"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Navigation
  • Main Page
SEARCH
LANGUAGES
 
Powered by MediaWiki
GNU Free Documentation License 1.2
  • This page was last modified on 1 November 2009, at 20:06.
  • This page has been accessed 304 times.
  • Content is available under GNU Free Documentation License 1.2.
  • Privacy policy
  • About PowerFolder Wiki
  • Disclaimers
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams