Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Completed Download Statistics
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
slurpyx
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 75

PostPosted: Sat May 13, 2006 12:50 pm    Post subject: Completed Download Statistics Reply with quote

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
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sat May 13, 2006 12:58 pm    Post subject: Reply with quote

not sure if that is what you actually ment, though:
http://awstats.sourceforge.net/

awstats is in portage ;)

//edit: stupid me :twisted:
awstats has vulnerabilitys quite often. i meant webalizer:
http://www.mrunix.net/webalizer/
Back to top
View user's profile Send private message
slurpyx
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 75

PostPosted: Sat May 13, 2006 1:40 pm    Post subject: Reply with quote

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?

:roll:
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sat May 13, 2006 1:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
slurpyx
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 75

PostPosted: Sat May 13, 2006 2:39 pm    Post subject: Reply with quote

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?

:roll:
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sat May 13, 2006 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
slurpyx
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 75

PostPosted: Sun May 14, 2006 1:18 am    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun May 14, 2006 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum