What kind of file are you trying to download (now i am interested to hear this...).
I know its possible to figure out if a user visits a page but why would you want to download a file for EVERY SINGLE USER visiting the page?
Also, what have you tried out...?