View an Uploaded Document

You can view a document that the IDOL View component cannot access directly on a Web site or file system, by uploading the file in the View action. To upload a document, you must send the View action as a POST request, and upload the document as multipart/form-data in the ViewUpload parameter.

For example:

<form name="example" method="post" enctype="multipart/form-data" action="http://localhost:14000/a=view&output=html&noaci=true" target="view_output">
View This File:(input type="file" name="viewupload" />
      Highlight: <input type="text" name="links" />
      <input type="submit" value="Submit" /> </form>

This example shows a POST request for the View action, including the usage of ViewUpload.