473,469 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1442
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ravi Shankar | last post by:
Hi all, I have an enterprise application. I am using Apache Log4J for the logging purposes. WHen a request is received by the application, it goes throug servlets and many classes, and the...
1
by: jjesso | last post by:
I am trying to add a new logging level. logging.config.fileConfig("bengineLog.cfg") logging.CLIENT = logging.INFO + 1 logging.addLevelName( logging.CLIENT, 'CLIENT' ) logging.root.setLevel( )...
6
by: pmatos | last post by:
Hi all, I am trying to create a simple but efficient C++ logging class. I know there are lots of them out there but I want something simple and efficient. The number one requirement is the...
23
by: Rotem | last post by:
Hi, while working on something in my current project I have made several improvements to the logging package in Python, two of them are worth mentioning: 1. addition of a logging record field...
3
by: Karuppasamy | last post by:
Hi I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net . I installed everything as per the Instructions given in the 'Development Using the Logging Block'. ...
1
by: Bart Schelkens | last post by:
Hi, i have this website and my boss wants to log every click in a table in the database. It was not a problem doing that. Except now he also wants to log every click on a hyperlink. I have...
0
by: robert | last post by:
As more and more python packages are starting to use the bloomy (Java-ish) 'logging' module in a mood of responsibility and as I am not overly happy with the current "thickener" style of usage, I...
2
by: Justin | last post by:
I am running a SQL maintenance job on a 40 GB database which performs optimizations by re-orginizing data and indexes pages. After the job is finished, a separate job peforming a SQL transaction...
1
by: manish1 | last post by:
I Want To Develop A Software In Asp Which Handles Following Things: 1. User Name 2. Login And Logout Time In A Particular Website 3. Number Of Downloads From A Particular Website 4. How Much Mb...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.