Home : OpenEdit SDK : Programming OpenEdit : Force Download
Force Download
You can force the browser to download a binary file or HTML page by adding this to the xconf that the browser is trying to download. You can also add it as a _site.xconf to download any file in a directory.In an file called: /downloads/_site.xconf
<page>
<path-action name="EditModule.forceDownload" alltypes="true" />
</page>
Then this link /downloads/somepage.jpg will force a download.
