Command Line Utility Guide

Command Line Utility Guide

addVirtualFolder

addVirtualFolder

Add a virtual folder to a Web User profile or Web User Group using the addVirtualFolder command. The following table lists the available options for adding a virtual folder.
To add a virtual folder to a Web User profile or Web User Group, log in as a User with the Web User Manager role.
Example 1:
The following command will add a virtual folder using a relative path with permissions to a Web User:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command addVirtualFolder -username kharris -virtualPath "/Inbound/Invoices" 
-physicalPath "${homeDirectory}/Inbound/Invoices" -diskQuota 10MB 
-permissions download overwrite
Example 2:
The following command will add a virtual folder using a relative path with permissions to a Web User Group:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command addVirtualFolder -groupName HTTPSUsers 
-virtualPath "/Inbound/Invoices" 
-physicalPath "${homeDirectory}/Inbound/Invoices" -diskQuota 100MB
-permissions download overwrite
Parameter Name
Description
Required?
Default Value
userName
The Web User account name.
Yes*
None
groupName
The Web User group name.
Yes*
None
virtualPath
The relative path of the folder as it appears to Web Users.
Yes
None
physicalPath
The physical path to the folder that the virtual path refers to. The physical path can contain the Web User's ${homeDirectory} variable.
Yes
None
diskQuota
Specifies the folder disk size limit. Maximum value is 999999 in measurements of KB, MB, GB, or TB. You can also specify unlimited, or inherited. Measurements are case sensitive and cannot contain any spaces between the value and measurement.
Example: 100GB
No
Inherited
permissions
The permissions allowed for the folder, separated by spaces. If this parameter is supplied without any values, the permissions are reset using no permissions.
Valid Values:
  • list
  • download
  • upload
  • overwrite
  • renameFiles
  • deleteFiles
  • checksum
  • share
  • createSubfolders
  • renameSubfolders
  • deleteSubfolders
  • shareSubfolders
  • applyToSubfolders
  • append
No
No Permissions
*You must specify either a userName or groupName parameter with this command.

0 COMMENTS

We’d like to hear from you!