Command Line Reference

Command Line Reference

updateVirtualFolder

updateVirtualFolder

Update a virtual folder in a Web User profile or Web User Group using the updateVirtualFolder command. The following table lists the available options for updating a virtual folder.
To update a virtual folder in 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 update the permissions of a virtual folder in a Web User's profile:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command updateVirtualFolder -username kharris -virtualPath "/Inbound/Invoices" 
-permissions list download
Example 2:
The following command will update the permissions of a virtual folder in a Web User Group:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command updateVirtualFolder -groupName HTTPSUsers -virtualPath"/Inbound/Invoices" 
-permissions list download
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.
No
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. When no value is specified, the disk size limit is not changed. Measurements are case sensitive, and cannot contain any spaces between value and measurement.
Example: 100GB
No
None
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!