![](/images/new-backgrounds/1300197/300197193x1.webp)
Upload and Download Utilities
Option | Description |
|
|
This option ensures that the repository and object cache for | |
| a running instance of Wireless Edition are current. The |
| following is sample syntax: |
| |
| bootstrap.xml |
| |
| running. |
| port is the port at which the registry is listening. |
| |
| port and |
| file. |
|
|
Unload Example
In this example, XML data is written to standard output.
java oracle.panama.core.util.LoadXml
Upload Example
In this example, XML data is read from standard input. It must contain all referenced objects.
prompt$ java oracle.panama.core.util.LoadXml
8.3 Upload and Download Utilities
You can use the upload and download utilities to import and export the Wireless Edition repository as an XML file. These utilities invoke LoadXml. They are located in the WE_HOME/sample directory of your development environment. You invoke upload from a command prompt as follows:
upload.bat repository.xml
This loads the contents of the file repository.xml into the repository. It accesses the repository specified by the connect string in the
To download a repository:
download.bat repository.xml
This places the contents of the repository in a file named repository.xml.
Utilities