470,594 Members | 1,378 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

logging downloads

I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script
that count number of downloads, and then redirect to the spesific file. But
this soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?

Best regards,
ōyvind Isaksen
Norway.
Jul 19 '05 #1
5 1394
On Wed, 29 Oct 2003 21:10:00 +0100, "ōyvind Isaksen"
<oy****@webressurs.no> wrote:
I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script
that count number of downloads, and then redirect to the spesific file. But
this soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?


Ummm... IIS logs this as part of the web site log. :)

Jeff
Jul 19 '05 #2
Thanks for your answer! But, how do I "use" this log?

"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:3f***************@msnews.microsoft.com...
On Wed, 29 Oct 2003 21:10:00 +0100, "ōyvind Isaksen"
<oy****@webressurs.no> wrote:
I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a scriptthat count number of downloads, and then redirect to the spesific file. Butthis soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?


Ummm... IIS logs this as part of the web site log. :)

Jeff

Jul 19 '05 #3
It will show in the webserver's logs everytime it is downloaded.
--

Phillip Windell [CCNA, MVP, MCP]
pw******@wandtv.com
WAND-TV (ABC Affiliate)
www.wandtv.com

"ōyvind Isaksen" <oy****@webressurs.no> wrote in message
news:Ou**************@tk2msftngp13.phx.gbl...
I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script that count number of downloads, and then redirect to the spesific file. But this soultion will not work when a user right click on the file/link and choose "save target as...". How can I solute this?

Best regards,
ōyvind Isaksen
Norway.

Jul 19 '05 #4
http://www.aspfaq.com/2473

"ōyvind Isaksen" <oy****@webressurs.no> wrote in message
news:ug*************@tk2msftngp13.phx.gbl...
Thanks for your answer! But, how do I "use" this log?

Jul 19 '05 #5
On Wed, 29 Oct 2003 21:27:20 +0100, "ōyvind Isaksen"
<oy****@webressurs.no> wrote:
Thanks for your answer! But, how do I "use" this log?
See:

Logfiles:
http://www.iisfaq.com/default.aspx?view=P141

Also move to the IIS groups, it doesn't involve ASP.

Jeff
"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:3f***************@msnews.microsoft.com...
On Wed, 29 Oct 2003 21:10:00 +0100, "ōyvind Isaksen"
<oy****@webressurs.no> wrote:
>I need to log how many times one spesific file is downloaded from my
>website. First I thought this could be done simply by routing via ascript >that count number of downloads, and then redirect to the spesific file.But >this soultion will not work when a user right click on the file/link and
>choose "save target as...". How can I solute this?


Ummm... IIS logs this as part of the web site log. :)

Jeff


Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ravi Shankar | last post: by
1 post views Thread by jjesso | last post: by
6 posts views Thread by pmatos | last post: by
23 posts views Thread by Rotem | last post: by
1 post views Thread by Bart Schelkens | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.