4.2 Command Line parameters
BPFtp Server allows you to add the following command line parameters:
-h: put the server into tray on startup
-s: autostart the server
-p:21: specify ftp port (21 here)
-service: tell the server it is running as a system service (see 'Install as system service' first).
-nouserstats: disable saving account stats.
-nousertransfers: disable user upload & download reports (no saving to file or monitoring in server activity).
Command lines switches that can be specified when an instance is running :
-reload : reload user accounts (users.ini)
-offline : put the server offline
-online : put the server online
-exit : application shutdown
-open : open the server to new connection if it was closed
-close : close the server from new connection
-stat : takes the file "stat.mdl" from the server installation directory which contains tags (%CNOW ...) and produces a file "stat.top" containing tags replaced by their value
-startlogging : start logging to file
-stoplogging : stop logging to file
-kickall : disconnect all users currently connected to the server
To add them simply right-click on the BPFTP-icon on your desktop and choose properties -> shortcut. In the target box append the parameters you want to use. For example: 'c:\Program Files\BPFTP Server\BPFTPSrv.exe -h' (without the quotes).