Page 1 of 1

Multipart downloads

PostPosted: Sat Jun 15, 2013 9:35 pm
by AndyP
I'm using multipart to upload a file to my server that I want to make available to users for download. What is the simplest way to count downloads of that file?

Re: Multipart downloads

PostPosted: Sun Jun 16, 2013 12:12 pm
by SrNupsen
I would run it through a third-party script (no more than a couple of lines of code, I'm sure) that first trackes the download and then serves the file.

Or use your web server's log file.

Re: Multipart downloads

PostPosted: Sun Jun 16, 2013 3:35 pm
by AndyP
Any recommendations on a third party script? Thanks for the help btw, good to see a familiar name still checking in here.

Re: Multipart downloads

PostPosted: Sun Jun 16, 2013 4:15 pm
by SrNupsen
Something like in this thread, perhaps?
http://stackoverflow.com/questions/7213 ... -downloads

Will create a text file with a counter for each item, but could be easily modified to have one text file counting all items.

EDIT: Oh, thanks, I do check in occasionally :)