Comments

Then in your downcount.asp, at the top you would have code to update your database / text file with an incremented download count for the file specified on the querystring. Once you've updated the database / text file, just use:

Response.Redirect(Request.QueryString("file"))

NOTE: You should probably use Server.URLEncode() on the link, since the path and filename you're passing on the querystring may have "special" characters.