Brain Exploding Madness

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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 ...
    5. 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...
  3. #2

    Default Re: Brain Exploding Madness

    > Well get this, think links it makes don't work with
    > the extensions of the files.
    What do you mean by "doesn't work"? Can you elaborate a bit more?

    --

    Adam
    Adam Cameron Guest

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139