Add a file
The format of the <method>
element
for adding a file to the Web GUI server
is:
<method methodName="file.addFile">
Use
this method to create a file on the Web GUI server.
The <method>
element contains one or more <file>
elements
that each define the name and location of a file to create. The content
of the <file>
element becomes the content of the
new file. For more information, see <file>.
Example
This example creates a file named data.txt in the OMNIbusWebGUI.war directory.
<methodCall>
<method methodName="file.addFile">
<file fileName="data.txt" toDir="data">
</file>
</method>
</methodCall>