I'm trying to list a specific directory and files on my hard drive but I 
need some help.
Here is my code so far...



                                        <cfdirectory ACTION="List"
                                                    DIRECTORY="D:\data\files"
                                                        NAME="DirList"
                                                    MODE="666"
                                                    SORT="name ASC">


                                        <cfform ACTION="???.cfm" METHOD="POST" 
ENABLECAB="Yes">

                                                <cftree name="DirList"
                                                align="LEFT"
                                                height="400"
                                                width="248"
                                                font="Arial"
                                                bold="No"
                                                italic="No"
                                                border="Yes"
                                                hscroll="Yes"
                                                vscroll="Yes"
                                                required="No"
                                                completepath="No"
                                                appendkey="Yes"
                                                highlighthref="Yes">

                                                <cftreeITEM VALUE="Data">

                                                <!--- DO CFLOOP IN HERE --->
                                                <cftreeitem value="DirList"
                                                parent="DirList"
                                            img="document"
                                        href="index.cfm"
                                        queryasroot="No"
                                        expand="Yes">
                                            </cftree>

                                        </cfform>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to