Command Line Utility Guide

Command Line Utility Guide

updateVirtualFile

updateVirtualFile

Update a virtual file in a Web User profile or Web User Group using the updateVirtualFile command. The following table lists the available options for updating a virtual file.
To update a virtual file 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 on a virtual file in a Web User's profile:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command updateVirtualFile -username kharris -virtualPath "/Inbound/Invoices/Qtr1.csv" 
-permissions download overwrite append share
Example 2:
The following command will update the permissions on a virtual file in a Web User Group:
infamftcmd.bat -server http://10.1.4.1:8000/informaticamft -user Administrator -password Administrator 
-command updateVirtualFile -groupName HTTPSUsers -virtualPath"/Inbound/Invoices/Qtr1.csv" 
-permissions download overwrite append share
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 file as it appears to Web Users.
Yes
None
physicalPath
The physical path to the file that the virtual path refers to. The physical path can contain the Web User's ${homeDirectory} variable.
No
None
permissions
The permission allowed for the file, separated by spaces. If this parameter is supplied without any values, the permissions are reset using no permissions.
Valid Values:
  • download
  • overwrite
  • append
  • checksum
  • share
No
No Permissions
*You must specify either a userName or groupName parameter with this command.

0 COMMENTS

We’d like to hear from you!