Guide: WebDrive and the Command Line
WebDrive Supports Command Line for Basic Operations (Connect, Disconnect, Flush Cache)
WebDrive Supports a Command Line Interface (CLI) for basic operations.
There are several tasks that can be performed via command line interface in WebDrive including mounting and dismounting connections and activating and deactivating licenses.
The command line utility WebDriveCLI.exe can be found in the installation folder, for Windows it’s ‘c:\Program Files\WebDriveApp\bin’.
To get a list of command line options just run WebDriveCLI.exe without any arguments in a command prompt.
To use command line arguments on Mac you can execute WebDriveCLI via the following command ‘./Applications/WebDrive.app/Contents/bin/WebDriveCLI --activate <regcode>
Here are some example command line options:
Activate license with a registration code WebDriveCLI --activate <registration code>
Deactivate license with a registration code WebDriveCLI --deactivate <registration code>
Display current license information WebDriveCLI --licenseinfo
Mount a drive WebDriveCLI --mount "<connection name>" --nowait
Dismount a drive WebDriveCLI --command dismount --sitename "<connection name>" --wait
Flush the Cache WebDriveCLI --command flushcache --sitename "<connection name>” [--flushfiles] [--flushfolders]
This will flush files or folders from the cache while a connection is mounted, this command will not work if the drive isn’t currently mounted
Run a file transfer job WebDriveCLI –-job "<jobname>"