Open topic with navigation
You are here: Advanced > Command Line Parameters
Command Line Parameters
Each command line parameter is optional. If a parameter is omitted, the existing value will be used.
If the site name specified in the command line parameter does not exist, then a new site will be created in the registry. In this case, you will need to specify enough parameters to complete a valid connection, such as user name, password, and URL.
If a parameter value contains a space, you will need to enclose it in quotes, for example, /s:"site name"
- /s:" sitename"
The site name you wish to connect to; if this site does not exist then a new one will be created.
The user name to use for connecting to the site.
The password to use for connecting to the site.
The URL to connect to.
FTP=0, WebDAV=1, FrontPage=2, Cornerstone MFT=3 , SFTP=4. For a FTP connection enter /pr:0
- / d: driveletter
the drive letter to map to the site, for example / d:X
- / nosaveuserinfo
When specified, the username/password are not recorded in the registry.
- / exp
Launch an Explorer window after connecting to server.
Map the drive in the LocalSystem process context rather than the current user's context. This allows system services like IIS to access the mapped drive.
- / ntservicecontext
Tells WebDrive that the drive is being mapped by a different NT user than the one that created the specified site on the command line. WebDrive will then search the WebDrive site database for all users for the specified site. The first site found will be used.
Takes out a DAV lock on the specified file; be sure to include the drive name, for example, w:\ hello.txt
Removes a DAV lock on the specified file.
- / lockinfo:<filename>
Displays lock information on the specified file.
- / cacheflush:< drivename>
Flushes the file and directory cache. For example, WebDrive / cacheflush: W:
- / cacheflushfiles:< drivename>
Flushes file cache only.
- / cacheflushdir:< drivename>
Flushes the directory listing cache only.
- / flushandwait:< drivename>
Flushes all files that are in the delay close queue and waits for them to upload to the server if needed. This is useful in scripting scenarios when before disconnecting the drive you need to flush files and wait, or during a script where you need to wait for an operation to complete on WebDrive before accessing the files on the server using a different access method.
- /online:< drivename>
Switch to online mode, for example /online: W:
- /offline:< drivename>
Switch to offline mode, for example /offline: W:
- /synch:< drivename> Perform a synchronization option on the specified drive.
- /job:" jobname" Run the specified file transfer manager job to perform a backup or synchronization task.
- /batch Suppress dialog prompts for some commands if an error occurs.
Copyright © 2015 South River Technologies. All rights reserved.