Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
kenji776 #1
Brain Exploding Madness
Hey everyone, I have found a very odd error that has totally fried my brain.
I have a query and a loop that read all files from a dir, then posts them as
links, easy enough right? Well get this, think links it makes don't work with
the extensions of the files. Most of the files are .smc files (those are roms)
which need to be downloaded. Those links don't work. So just out of curiosity I
zipped one with making it a .rar, and that link works. So in short,
<a href="../Downloads/SNESRoms/7th - Saga.rar">7th - Saga.rar</a>
Works just fine, however
<a href="../Downloads/SNESRoms/7th - Saga.smc">7th - Saga.SMC</a>
Does not work. Which also meant that
<cfoutput><a
href="../Downloads/SNESRoms/#snes_rom_dump.name#">#snes_rom_dump.name#</a>
Does not work, because it uses the .smc extension. Just so you know the peice
of code I'm trying to use for this is...
<cfdirectory action="list" directory="d:\ftp\digital
swordsmen\downloads\SNESRoms\" name="snes_rom_dump">
<cfloop query="snes_rom_dump">
<cfoutput><a
href="../Downloads/SNESRoms/#snes_rom_dump.name#">#snes_rom_dump.name#</a><br></
cfoutput>
</cfloop>
So yeah, I cannot think of any reason the links from the query, (any link that
ends in .smc) doens't work. Does anyone have any ideas? Im losing my brain
here. I would just zip them all and host those as downloads, but I don't have a
way to zip each file and not turn then all into a giant archinve. Seeing as
there are a few hundered of these files I need to find an automated way to have
these downloadable. Ugh, my brain hurts.
kenji776 Guest
-
Exploding Tables in IE not Safari
DW 8 and ImageReady CS on a Mac OS X. Regular old HTML, as near as I know. (I'm not a code guy, as I may not have to tell you.) I used slices and... -
Madness, I call it madness
Maybe it's me who is mad but... I have a windows application with a datagrid. On pressing F5 (when the grid or any grid's cell has a focus) I... -
Exploding fonts in PS7 on Mac OS9
I need to make text look like it's exploding off the page..this is a new one for me. Anyone have any suggestions or tricks in PS7? I've looked for a... -
Exploding Win XP disk
How to Replace Lost, Broken, or Missing Microsoft Software or Hardware http://support.microsoft.com/default.aspx?scid=kb;;326246 -- Nicholas ... -
Question re FH9 exploding lines
Wayne Bourke wrote: Freehand doesn't have an automatic Xtra or filter to do this. It's really quite easy to do manually, and you have much more... -
Adam Cameron #2
Re: Brain Exploding Madness
> Well get this, think links it makes don't work with
What do you mean by "doesn't work"? Can you elaborate a bit more?> the extensions of the files.
--
Adam
Adam Cameron Guest
-
kenji776 #3
Re: Brain Exploding Madness
Yeah, it says page cannot be found, 404 error. Although I did find a workaround to this prob, I would still like to know what people think.
kenji776 Guest
-
Ro #4
Re: Brain Exploding Madness
My first guess is that the web server doesn't know how to handle the
smc file and the MIME headers. hence the reason why once it's rarred
or zipped it downloads fine.
Have you tried using other browsers? (e.g. Opera, Netscape, etc)
If you're hosted it's possible that the host disallows serving files
considered to be illegal (like ROMs, which violate copyright laws).
On Mon, 6 Jun 2005 20:48:43 +0000 (UTC), "kenji776"
<webforumsuser@macromedia.com> wrote:
>Yeah, it says page cannot be found, 404 error. Although I did find a workaround to this prob, I would still like to know what people think.Ro Guest



Reply With Quote

