Running SFTP Server
SFTP Server can be started directly from the application's main window, via command line, or configured to run as a Windows service. Use the Start, Restart and Stop buttons in the toolbar manage the status of the listener from the main window.
End-users and clients can access SFTP Server if they are added to the users list and are enabled in the Users tab. Once the desired options and users have been configured, press the Save Changes button in the toolbar to save the changes.
Running as a Windows Service
If the Run as a Service option is not selected, then the SSH listener will be run in-process inside the SFTP Server application running in on the desktop. This means that to be able to connect to the server, a user must be logged in and the SFTP Server application must be running (and the listener started). This mode of operation can be very convenient for desktop use.
However, for servers, it is better to enable the Run as a Service option. In this mode of operation the SSH listener is not running on the desktop. Instead, a Windows Service is configured, which can run at any time even if no users are logged in at the server console. When this option is enabled, the Start/Restart/Stop buttons in the user interface actually control the Windows Service.
Command Line Parameters
The Windows Service may be started and stopped from the command line by specifying the "servicestart" and "servicestop" command line parameters. For instance:
- To start the service: SFTPServer.exe /servicestart
- To stop the service: SFTPServer.exe /servicestop
When not running as a Windows Service the "start", "stop", "restart", and "exit" command line parameters may be used if the AdminServiceEnabled registry key is set to 1 (True).
- To start SFTP Server: SFTPServer.exe /start
- To stop SFTP Server: SFTPServer.exe /stop
- To restart SFTP Server: SFTPServer.exe /restart
- To close SFTP Server: SFTPServer.exe /exit
Additional command line parameters:
- To retrieve the maximum number of connections: SFTPServer.exe /GetMaxConnections