View an Uploaded Document

You can view a document that the View service cannot access directly on a Web site or file system, by uploading the file to View 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" />
      <br><br>
      Highlight: <input type="text" name="links" />
      <br><br>
      <input type="submit" value="Submit" /> </form>

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


_HP_HTML5_bannerTitle.htm