I found some bugs in the function that actually puts the link on the page.
If there is a jpg/zip/png.... the function tries to change the ending to .mp3
So if u wanna download text.jpg then the link gives u back text.mp3. This happens allot when I tried it.
Then u cant Download files that have a "?" in the name. Guess thats a problem with the Apache Server. Maybe u can switch this char with something else?
think thats it for now ^^