Skip to content
  • There are no suggestions because the search field is empty.

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>"

 

 

 

Need More Help? We’ve Got You Covered.

If you didn’t find what you were looking for, our support team is here to help. Customers with active maintenance and support can join the help desk and Submit a ticket and one of our experts will follow up shortly.