Add a directory
The format of the <method>
element
for adding a directory to the Web GUI server
is:
<method methodName="file.addDir">
Use
this method to create a new directory on the Web GUI server.
The <method>
element contains one or more <file>
elements
each of which defines a directory to create on the system. In each <file>
element
include the dirName attribute to define the directory to
create.
<file>
The <file> element defines the characteristics of a file or directory to work with. The element has the following attributes:
Attribute name | Required or optional | Description |
---|---|---|
fileName |
Optional |
The name of a file to work with. |
Value: String |
||
Default value: None |
||
dirName |
Optional |
The specification of a directory to work with. |
Value: String |
||
Default value: None |
||
toDir |
Optional |
The destination directory for a command. |
Value: String |
||
Default value: None |
||
fromDir |
Optional |
The source directory for a command. |
Value: String |
||
Default value: None |
Example
This example creates a directory named data in the OMNIbusWebGUI.war directory (in JazzSM_WAS_Profile/installedApps/JazzSMNode01Cell/isc.ear/OMNIbusWebGUI.war).
<methodCall>
<method methodName="file.addDir">
<file dirName="data">
</file>
</method>
</methodCall