View previous topic :: View next topic |
Author |
Message |
slurpyx Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2005 Posts: 75
|
Posted: Sat May 13, 2006 12:50 pm Post subject: Completed Download Statistics |
|
|
I am just wondering if there is some sort of a script in which i can monitor/log the completed download of a files on my http apache server?
I am using http for my users to download files.
Tnx in advance! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoylentGreen l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19872352734460b326d699c.png)
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slurpyx Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2005 Posts: 75
|
Posted: Sat May 13, 2006 1:40 pm Post subject: |
|
|
Ahhmm..
Can this monitor the number of "completed downloads" on my site?
meaning.. if i have all sorts of downloadable files.. say size is 10megs or higher each. can this tell me, the completed downloads?
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoylentGreen l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19872352734460b326d699c.png)
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Sat May 13, 2006 1:53 pm Post subject: |
|
|
i am still unsure if i understand you correctly. hmm.. have a look at our site:
http://www.gamecraft.de/stats/usage_200605.html
thats how it looks. no, it does not tell if a download was completed or uncompleted. however, have a look at "Top 50 of 8114 Total URLs" on our page. it tells you the hits and KBytes for each file. i thought, that is what you meant. if thats not what you are looking fore, you have to implement some php or cgi script, and make the downloads available via that one only. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slurpyx Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2005 Posts: 75
|
Posted: Sat May 13, 2006 2:39 pm Post subject: |
|
|
you have to implement some php or cgi script, and mak the downloads available via that one only. - I tried implementing such.. but.. it only gave me the number of click thru.. and not the actual no of "completed users download"..
it would be nice if i/we can found something like...
no of attempts VS failed VS completed
statistics of downloads
Is there such a thing?
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SoylentGreen l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19872352734460b326d699c.png)
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Sat May 13, 2006 2:53 pm Post subject: |
|
|
not that i would know. apache is (IMHO) unable to know if a user aborted the html(!) download or not. he simply "viewed" the file, likewise to any other HTML page.
and, just OTOH, it shouldnt matter much to the webadmin if the user decided to abort the download or not.
what do you need this stuff for? just wondering
and, just btw.. before you even think about it: this counts for FTP servers as well. a started download is a download.
hmm. check freshmeat if something to your desire exists. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slurpyx Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Feb 2005 Posts: 75
|
Posted: Sun May 14, 2006 1:18 am Post subject: |
|
|
Well.. my "sadistic" boss wants to compare the completed VS failed VS atempted download..
come up with a statistics for marketing purposes.. (which i dont blame him) thinking like a "sadistic" boss.. it would be nice if the "IT GUYS" can come up with something like that..
Ive.. been googling around.. and for some odd reason.. i cant find one.. thinking about it.. there should be one..
![Idea :idea:](images/smiles/icon_idea.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun May 14, 2006 11:38 am Post subject: |
|
|
I don't think it is possible to *guarantee* whether or not a download was completely successful or not with plain http/ftp methods - from a servers point of view that is.
If you really do need to have a guarantee for 'file correctly transfered' you could e.g. request an md5-hash from your customer for the transfered file. If it is identical to yours the transfer is vaild, otherwise not.
Does involve additional action to be done by your customers/clients though...
and/or use some specialized transfer methods like PM4Data _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|