Multipart downloads

All new Coranto Addons, updates and patches to addons, will be released here...also, get support for addons within!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

Multipart downloads

Postby AndyP » Sat Jun 15, 2013 9:35 pm

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?
AndyP
 
Posts: 165
Joined: Wed Jan 10, 2007 10:10 pm

Re: Multipart downloads

Postby SrNupsen » Sun Jun 16, 2013 12:12 pm

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.
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Re: Multipart downloads

Postby AndyP » Sun Jun 16, 2013 3:35 pm

Any recommendations on a third party script? Thanks for the help btw, good to see a familiar name still checking in here.
AndyP
 
Posts: 165
Joined: Wed Jan 10, 2007 10:10 pm

Re: Multipart downloads

Postby SrNupsen » Sun Jun 16, 2013 4:15 pm

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 :)
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway


Return to Addon Release and Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron