Read folder, get files, make links

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

  1. #1

    Default Read folder, get files, make links

    Hey everyone. I have a rather large collection of roms, and other files that I
    would like to host. Seeing as people are often adding things, updating the
    downloads page is becoming unmangable. I would like to create a page that reads
    the folder all the files are held it, and automatically create a download link
    to each file. They are all held on an ftp server, if that helps somehow, like
    maybe using the cfftp tag or something. If you could write up a quick script
    for this, I would really appreaciate this. Thanks a bunch, im sure this will be
    really easy for you cold fusion masters out there.

    kenji776 Guest

  2. Similar Questions and Discussions

    1. First Steps Perl DB programming (was: first steps - read from files and make linklist)
      Your question, other than context, is really completely different. In general the canned response of, "You will want to become familar with the...
    2. first steps - read from files and make linklist
      Hello list, I am trying to write my very own first "useful" program and I am in need of some help. I do have a lot of ressources (a book by...
    3. how to check if folder is read only?
      You could do a little routine to attempt to write a small routine to try and write a file to the specified folder then check for the existence of...
    4. How do I read a jpeg image from a folder on a server
      Hi, How do I read a jpeg image from a folder on a server, and give it to a user as a file that his browser would download it (stream it) directly...
    5. read only folder
      I cannot change the read attribute of any of the folders. Even if I uncheck that option it keeps re- appearing. Any suggestions? Thanks
  3. #2

    Default Re: Read folder, get files, make links

    is the directory residing on another server or on the server coldfusion is
    installed? If on the same server try to use <cfdirectory action="LIST"
    directory="c:\jrun4" name="QMyDir">
    and
    <cfdump var="#Qmydir#"> to view the resulting query

    CF_fdk 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