You can change the location of the public and private folder by setting the keys "public_dir=" and "private_dir=" in cfospnet.ini, section [param] to your desired folder (full path required). cfospnet.ini is located in the c:\programdata\cFos\cfospnet folder.
By default cFos PNet uses port 80 for HTTP services, but you can change the port by setting the key "server_port" in the [param] section of the cfospnet.ini.
Also by default, cFos PNet uses IPv4 as well as IPv6. If you want to limit its connectivity to IPv4 or IPv6 you can set the key "ipv4_allowed" or "ipv6_allowed" to "0" in the same [param] section of cfospnet.ini.
|"smtp_server"||address of your SMTP server|
|"smtp_username"||your user name|
|"smtp_port"||port of the SMTP server, e.g. 25. If you omit the smtp_port parameter, the default port will be used|
That's it. To allow others to access your web server, you may need to configure port forwarding in your router, if you are behind a NAT. Also: If you use dynamic IP addresses, you may want to sign up with a dynamic DNS service, like DynDNS (www.dyndns.org). We provided a script to register with DynDNS when cFos PNet starts and unregister when it stops. To use it, run dyndns.htm in your pub folder to tell cFos PNet your DynDNS parameters. Then activate dyndns.jss as startup and shutdown script in cfospnet.ini by removing the ";" in the respective "on_start" and "on_stop" line in the section [scripts].
If you manually start cfospnet.exe, it runs as a normal Win32 user process under your user account. When you log out, Windows will stop it as all other programs you opened.
You can also use cFos PNet as a system service. Then it will start with Windows and run independently of the logged on user. Use
"cfospnet.exe -start_service" to register cFos PNet as a service and start it.
"cfospnet.exe -stop_service" to stop the cFos PNet service and unregister it.
cFos PNet comes with a default user setup. The installer creates a folder /users/admin in the pub folder during installation. New users get a configuration file profile.txt in their respective user folder /users/
So if you want to share a file only with a certain user, copy it into his /private/