Running SFTP Drive
SFTP Drive allows defining drives, managing drives, and controlling when drives are attached to the system. Processes can interact with the drives just like any other drive.
The application can be started directly from the application's main window, via command line, or configured to run as a Windows service. Please take a look at the Quick Start Guide for a step-by-step introduction. Drives may be managed from the Drives tab (see Drive Management for more information).
Application
The buttons in the main application window or the context menu in the System Tray may be used to manage the application. To start the enabled drives, click the Start button. Once started, the options to Stop or Restart the application are enabled. Unmount all drives by clicking the Stop button.
All the configured drives will be displayed in list of drives. Click Save Changes to store changes across stopping and starting. For more information on configuring a drive please see the Drive Configuration topic.
Starting as a Windows Service
The application may also be configured to run as a Windows service. To enable running as a Windows service navigate to the Service tab and check the Run as a Windows Service checkbox. Click Save Changes to save the changes.
After Save Changes is pressed, no user interaction is required to start the application. The Windows service will be configured with a startup type of automatic. The user interface does not need to remain open when running as a Windows service.
Command Line Parameters
The application may also be controlled via the command line. The command line values allow management of the application from unattended configurations such as scripts. The following command line parameters are available:
/stop | Disconnects all drives and then exits the application |
/start | Starts the application and connects all enabled drives. |
/start uimin | Starts the application minimized and connects all enabled drives. |
/servicestart | Starts the SFTP Drive service |
/servicestop | Stops the SFTP Drive service |
/isolated | Launches SFTP Drive in Isolated Mode |
/registerservice | Registers the SFTP Drive service with Windows |
/unregisterservice | Unregisters the SFTP Drive service with Windows |
/start /drive DRIVE_NAME | Starts the application and mounts the drive with the specified name. Multiple drives may be mounted by specifying multiple /drive flags. For instance: /start /drive mydrive1 /drive mydrive2 |
/stop /drive DRIVE_NAME | Disconnects the specified drive. Multiple drives may be disconnected by specifying multiple /drive flags. For instance: /stop /drive mydrive1 /drive mydrive2 |