Those concerned about bandwidth and not about file theft might try the following patch. Edit local_links.php and find line: (about line 1900, depending on version)
PHP Code:
if ($_REQUEST['action'] == "jump") {
About 50 lines further down find these lines
PHP Code:
if (!is_array($mimetype)) {
// no mimetype, so assume this is a regular link
$hit = record_hit($id, $url, $LINK_OK);
eval(print_standard_redirect('Redirecting.',0));
} else {
Change the
PHP Code:
if (!is_array($mimetype)) {
to something that is always true, e.g.
All link/file accesses will then be handled as redirects, so I imagine this will reduce bandwidth use for files with known mimetypes coming from a remote site.
The change will have no effect for filetypes that do not have recognised filetypes, and I suspect that it will have little if any effect for files held on your own server (but I may be wrong).
However, this improvement is at the cost of potentially making visible where the files are stored and it also causes one or two changes in the way windows are opened.
Appreciate feedback. Cheers.