Server als Dienst -parameter

  • Ersteller Johannes|hwluxx
  • Erstellt am
J

Johannes|hwluxx

Gast
Hi!
ich lasse meinen BPFTP Server als Dienst laufen und habe dazu noch zwei Fragen:
1. Wie ist der Parameter, damit der Server beim start automatisch online geht?
2. Gibt es noch andere nützliche Parameter?

Danke im Vorraus!
 
Herzlich Willkommen :) Fühl dich wohl!

Die möglichen Parameter sind in der Programminternen "help" zu finden, unter Punkt 4.2 Command line Parameters:
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).

Also -h und -s sind die Parameter, die du konkret erfragt hast - ob die anderen nützlich sind, oder nicht, musst du selbst entscheiden ;)
 
Oben