On Jun 29, 2004, at 12:56 PM, Mark Drew wrote:

> I am not sure if this would work (as I am not sure what precicely you
>  are trying to achieve) but would CF mappings help in this case?

I don't think mappings are the answer.

Here's an example of the specific problem -- I want to serve an .mp3
(could be a .mov) file from Apples iTunes directory sub-structure which
might look as follows:

--artist
----album
-------track (song) name

or

--Willie Nelson & Ray Charles
----unKnown Album
------Seven Spanish Angels.mp3

AFAIK, these fields can contain any valid character except colon (:)

Now, I get the path to the tracks by parsing an XML file which yields a
path:

..../iTunes Music/Willie Nelson & Ray Charles/unKnown Album/Seven
Spanish Angels.mp3

If I try to serve this with CFContent :

<cfcontent type = "audio/mp3"
file=#FilePath#
deleteFile = "No">

CFMX can't find the file -- it barfs on the & -- and I don't know how
to escape it

I suppose I could use a mapping and cflocation, but that exposes my
file/directory structure.

Dick

"In times like these, it helps to recall that
there have always been times like these."
- Paul Harvey -
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to