Re: Tracking downloads of mp3 files - SOLVED

2006-01-03 Thread Mike Kear
Thanks Adrian. Another one of those "slap the forehead" moments DER!! I ran expandpath() on the sound files in question and the path to the site wasn't quite what i thought it was. Problem solved, and files now downloading happily and all my analysis is working too. Thanks to everyone for th

RE: Tracking downloads of mp3 files

2006-01-03 Thread Adrian Lynch
Have you got the right path to the file? Are you hardcoding the path or is it generated dynamically? ExpandPath() or GetCurrentTemplatePath()? Ade -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 15:19 To: CF-Talk Subject: Re: Tracking downloads of mp3

Re: Tracking downloads of mp3 files

2006-01-03 Thread Cutter (CF-Talk)
Mike, Another possible issue to consider, is the production server Windows or Linux? A Linux machine will be case sensitive to file and folder names, and won't allow spaces either. Another simple test you might (and probably should) use: fileexists(string path). The 'file' attribute of the cf

RE: Tracking downloads of mp3 files

2006-01-03 Thread Jeff Garza
: CF-Talk Subject: Re: Tracking downloads of mp3 files Thanks for your suggestion Deanna. We should be using sandbox, but arent. I only lease a part of this box, dont own it so I dont have a lot of control over that part of things, but I'm assured that CFContent isnt disabled at all. (Whichi

Re: Tracking downloads of mp3 files

2006-01-03 Thread Mike Kear
Thanks for your suggestion Deanna. We should be using sandbox, but arent. I only lease a part of this box, dont own it so I dont have a lot of control over that part of things, but I'm assured that CFContent isnt disabled at all. (Whichi is a whole 'nother issue, but for now all I'm wanting to

Re: Tracking downloads of mp3 files

2006-01-03 Thread Deanna Schneider
Does your shared host use sandbox security? That could be a gotcha with cfcontent. What's the error your'e getting? On 1/3/06, Mike Kear <[EMAIL PROTECTED]> wrote: > > > EXCEPT . > > It didnt work on my production machine. A shared host.At first I > figured we had CFContent disabled, but

Re: Tracking downloads of mp3 files

2006-01-03 Thread Mike Kear
I tried Matt's method of using CFContent to serve the files to the user, and worked just like a charm - on my dev machine. I was able to not only do what I needed, and keep good stats and log of activity, but do some other cool stuff too like have the pages fed from a database instead of a static

Re: Tracking downloads of mp3 files

2006-01-02 Thread Owner, Three Ravens Consulting
Couldn't you also pull that from the server logs? Eric On Mon, 2 Jan 2006 05:42:50 -0800 Matt Robertson <[EMAIL PROTECTED]> wrote: > Use cfcontent to push the files to them. Then you can >work whatever > tracking code you want into the picture. > > http://mysecretbase.com/How_To_Display_Prot

RE: Tracking downloads of mp3 files

2006-01-02 Thread Jennifer Gavin-Wear
instead of a direct link to the file ... eg. http://www.mysite.com/music.mp3 add a url variable to a link to a download processing template. .. eg... http://www.mysite.com/download.cfm?mp3ID=#filename or some identifier# then you can use the url value to record the download in your database th

Re: Tracking downloads of mp3 files

2006-01-02 Thread Matt Robertson
Use cfcontent to push the files to them. Then you can work whatever tracking code you want into the picture. http://mysecretbase.com/How_To_Display_Protected_Files.cfm -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com

RE: Tracking downloads of mp3 files

2006-01-02 Thread Adrian Lynch
You could also look at the server logs if you don't mind a delay in the reporting. Ade -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 02 January 2006 13:22 To: CF-Talk Subject: Tracking downloads of mp3 files I have a site where I have a series of mp3 files for radio