Calling Till!
Downloads Pepper is awesome but I’m having mixed results with certain downloads appearing to be corrupt.
I’m using htaccess to force a redirect:
<FilesMatch “.(zip|gzip|rar|tar.gz|pdf)$”>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ /mint1/pepper/tillkruess/downloads/tracker.php?url=http://%{HTTP_HOST}%{REQUEST_URI}&force [NC]
</FilesMatch>
which initiates the download, and tracks the download OK.
With certain pdf’s (It seems to be larger ones - I’ve just tried one over 30MB) I get an error when I try to open the downloaded file: “There was an error opening this document. The file is damaged and could not be repaired”
Any ideas what could be happening here? I hope there’s a solution to this as the download tracker is a great addition to mint