| Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services 11g Release 1 (11.1.1) B32121-01 | 
 | 
|  Previous |  Next | 
The method for using a distribution XML file at runtime is essentially the same whether you use it in a URL or a command line. Include the options:
destination=filename.xml distribute=yes 
where filename is the name of the distribution XML file. You are required to specify either the relative or absolute path of the XML file. For example, for Windows, you might specify:
destination=c:\%ORACLE_HOME%\reports\distribution\filename.xml distribute=yes 
For UNIX, you might specify:
destination=$ORACLE_HOME/reports/distribution/filename.xml distribute=yes 
For example, the full command in a URL would be similar to:
http://your_server:port/reports/rwservlet?report=rep.jsp&userid=db_credentials &destination=$ORACLE_HOME/reports/distribution/distribution.xml&distribute=yes
The paths in these examples are used for illustrative purposes only. There is no requirement for where you store your distribution XML files. You can store them wherever you like.
| Note:In some cases, Microsoft Internet Explorer ignores the mimetype of a URL's return stream and instead sets the type by looking at the URL. This can be a problem when you are using the distribution feature of Oracle Reports Services because your URL might end with the destinationparameter; for example:
 In this scenario, your URL ends with the extension  | 
For detailed information on running reports from command lines and URLs and using the cgicmd.dat file, see Chapter 17, "Running Report Requests".