As we all know, XtGem has its own automated download page of your site. Some people complaining this but you should relize it is good.

»The advantage of the XtGem download page

The main effort of why XtGem created this function is to prevent illegal copying. As the hosting site are getting advanced, they allow uploads from URL. With the help of this function, other users may not copy your file into their hosting storage. Another advantage is that this function acts like a mirror. If another site share a direct link to your file, the visitor may see the original hoster of the file, that is your site. Thus, may be give you traffic.

»Prevent XtGem download page in your site

As reported by Povilas Musteikis, the XtGem CEO, the download page only occurs if the browser cannot send the information to the server that the browser is not refered from your site. If the link is in your site itself and the page still occurs in old devices, you can always use the <form> HTML in order to make the device to send information correctly. Sample code:
<form action="FILE URL" method="post"> <input type="submit" value="Download"></form>

»Making your own customised download page

You will use the available methods provided within XtGem. You will use get variables and available File list XtFunction. You can learn about get variables and file list XtFunction at ReadNow™.
• You first need to create a file in your file browser. It could be anywhere and this new file is your download page.
• You will have to put these get variables. It's up to you to edit it or not.
{_$name|No file refered to!} {_$size|No file refered to!} {_$href|/404}
• Then, rearrange the get variables as you desired. If you want ours, use below:
Filename: {_$name|No file refered to!}<br />
Size: {_$size|No file refered to!}<br />
<a href="{_$href|/404}">Download</a>
• Then you have to make the download link to be refered to your download. Example code:
<a href="/YOUR DOWNLOAD PAGE?name=FILE NAME&size=FILE SIZE&href=DIRECT ADDRESS TO THE FILE">LINK TEXT</a>
*Legend: Edit blue text to a valid parameter
• Alternatively, you can use the file list XtFunction for ease of making links. Change the operator template to this:
template="&lt;a href=&quot;/YOUR DOWNLOAD PAGE?name=.file_name_parsed.&amp;size=.file_size_kb.&amp;href=.file_url.&quot;&gt;.file_name_parsed.&lt;/a&gt;"